diff options
Diffstat (limited to 'mcwrapper/mod.py')
-rw-r--r-- | mcwrapper/mod.py | 3 |
1 files changed, 3 insertions, 0 deletions
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: |