diff options
author | Nitzo <nitzo2001@yahoo.com> | 2016-01-02 00:37:43 +0100 |
---|---|---|
committer | Nitzo <nitzo2001@yahoo.com> | 2016-01-02 00:37:43 +0100 |
commit | 7ab16b360739c4754c954ceb54b226ab0a30c215 (patch) | |
tree | c7d522cfe574f43ebb862d51f3693cd974cde04f /module/plugins/hooks/LogMarker.py | |
parent | [ExternalScripts] fix #2251 + much more (diff) | |
download | pyload-7ab16b360739c4754c954ceb54b226ab0a30c215.tar.xz |
"is" is evil
Diffstat (limited to 'module/plugins/hooks/LogMarker.py')
-rw-r--r-- | module/plugins/hooks/LogMarker.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/LogMarker.py b/module/plugins/hooks/LogMarker.py index 80f7b17fb..e73fa01e6 100644 --- a/module/plugins/hooks/LogMarker.py +++ b/module/plugins/hooks/LogMarker.py @@ -9,7 +9,7 @@ from module.plugins.internal.misc import seconds_to_nexthour class LogMarker(Addon): __name__ = "LogMarker" __type__ = "hook" - __version__ = "0.05" + __version__ = "0.06" __status__ = "testing" __config__ = [("activated", "bool", "Activated" , False), @@ -26,7 +26,7 @@ class LogMarker(Addon): def periodical_task(self): - if self.config.get('mark_day') and datetime.datetime.today().hour is 0: + if self.config.get('mark_day') and datetime.datetime.today().hour == 0: self.log_info("------------------------------------------------") self.log_info(_("------------------- DAY MARK -------------------")) self.log_info("------------------------------------------------") |