From 88d1ffc06d7c10962b738e61bf1f4ac0ddc0697e Mon Sep 17 00:00:00 2001 From: blacktwin Date: Wed, 6 Dec 2017 12:05:43 -0500 Subject: [PATCH] Update kill_device.py --- killstream/kill_device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/killstream/kill_device.py b/killstream/kill_device.py index 65e215a..7c0df6e 100644 --- a/killstream/kill_device.py +++ b/killstream/kill_device.py @@ -45,7 +45,7 @@ def kill_session(): platform = session.players[0].platform if DEVICES[platform]['kill'] is True: - MESSAGE = DEVICES[platform].get(platform, DEFAULT_REASON) + MESSAGE = DEVICES[platform].get('message', DEFAULT_REASON) print('Killing {user}\'s stream on {plat}.'.format(user=user, plat=platform)) session.stop(reason=MESSAGE)