From 1d4308ac71d879a74d17fc3877f0e1c7d9303686 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 10 Jan 2017 18:53:28 +0100 Subject: Fix for player names with spaces and exit error --- mcwrapper/alarm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcwrapper/alarm.py') diff --git a/mcwrapper/alarm.py b/mcwrapper/alarm.py index de61741..d11c37f 100644 --- a/mcwrapper/alarm.py +++ b/mcwrapper/alarm.py @@ -61,6 +61,6 @@ def set(name, t, handler, repeat=False, arg=None): def unset(name): - if name in __update__: + if name in __alarms__: __alarms__.pop(name) __update__() -- cgit v1.2.3