From 35d2ae9a115a17df2267cf0673d59419f4fd2a2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 30 Oct 2016 22:44:34 +0100 Subject: Split status and players to separate classes --- mcwrapper/mod.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mcwrapper/mod.py') diff --git a/mcwrapper/mod.py b/mcwrapper/mod.py index 73200f1..bb580e8 100644 --- a/mcwrapper/mod.py +++ b/mcwrapper/mod.py @@ -12,6 +12,9 @@ class MoD: self.file = file alarm.set("mod-time", period, self.__handler__, repeat=True) + def clean(self): + alarm.unset("mod-time") + def __handler__(self): lines = [] try: -- cgit v1.2.3