diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-11-18 19:11:01 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-11-18 19:11:01 +0100 |
commit | be75aa93f212d570b135fe208b21a6b33d3c5844 (patch) | |
tree | bb37f6dac67339828233ea5a930e4f313a585bdf | |
parent | It works, accept no update loop has be implemented (diff) | |
download | sysrss-be75aa93f212d570b135fe208b21a6b33d3c5844.tar.gz sysrss-be75aa93f212d570b135fe208b21a6b33d3c5844.tar.bz2 sysrss-be75aa93f212d570b135fe208b21a6b33d3c5844.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rwxr-xr-x | sysrss.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -84,7 +84,8 @@ class SysRSS: exit(254) for site in self.sites: - if site.interval < 1: + site.interval = int(site.interval) + if site.interval <= 0: print('Site %s does not have a positive interval and will therefore only be checked right now.' % site.name) message = site() if (message is not None) and (len(message) > 0): |