diff options
author | Karel Kočí <cynerd@email.cz> | 2017-01-10 18:53:28 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-01-10 18:53:28 +0100 |
commit | 1d4308ac71d879a74d17fc3877f0e1c7d9303686 (patch) | |
tree | c173177ce5364a61a5c4b80f9f4bd05d84d61cbc /mcwrapper/alarm.py | |
parent | 8596801b5c8aa702142909b1634823c6d1623dac (diff) | |
download | mcserver-wrapper-1d4308ac71d879a74d17fc3877f0e1c7d9303686.tar.gz mcserver-wrapper-1d4308ac71d879a74d17fc3877f0e1c7d9303686.tar.bz2 mcserver-wrapper-1d4308ac71d879a74d17fc3877f0e1c7d9303686.zip |
Fix for player names with spaces and exit error
Diffstat (limited to 'mcwrapper/alarm.py')
-rw-r--r-- | mcwrapper/alarm.py | 2 |
1 files changed, 1 insertions, 1 deletions
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__() |