diff options
author | Karel Kočí <cynerd@email.cz> | 2016-10-30 22:44:34 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2016-10-30 22:44:34 +0100 |
commit | 35d2ae9a115a17df2267cf0673d59419f4fd2a2f (patch) | |
tree | daa7484484806238ce98d6d1bed21122b8cd7b5e /mcwrapper/mod.py | |
parent | d7b7cdf04c4a04eae1a44b53a8091fd1cda9d90f (diff) | |
download | mcserver-wrapper-35d2ae9a115a17df2267cf0673d59419f4fd2a2f.tar.gz mcserver-wrapper-35d2ae9a115a17df2267cf0673d59419f4fd2a2f.tar.bz2 mcserver-wrapper-35d2ae9a115a17df2267cf0673d59419f4fd2a2f.zip |
Split status and players to separate classes
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: |