message fix
This commit is contained in:
parent
dd064f583f
commit
7d2e8692c7
@ -45,7 +45,7 @@ def kill_session():
|
|||||||
|
|
||||||
platform = session.players[0].platform
|
platform = session.players[0].platform
|
||||||
if DEVICES[platform]['kill'] is True:
|
if DEVICES[platform]['kill'] is True:
|
||||||
MESSAGE = DEVICES.get(platform, DEFAULT_REASON)
|
MESSAGE = DEVICES[platform].get(platform, DEFAULT_REASON)
|
||||||
print('Killing {user}\'s stream on {plat}.'.format(user=user, plat=platform))
|
print('Killing {user}\'s stream on {plat}.'.format(user=user, plat=platform))
|
||||||
session.stop(reason=MESSAGE)
|
session.stop(reason=MESSAGE)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user