aboutsummaryrefslogtreecommitdiff
path: root/mcwrapper/alarm.py
diff options
context:
space:
mode:
Diffstat (limited to 'mcwrapper/alarm.py')
-rw-r--r--mcwrapper/alarm.py2
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__()