diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/status_script.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/status_script.py b/scripts/status_script.py index 7c9a8a2..b1ea146 100755 --- a/scripts/status_script.py +++ b/scripts/status_script.py @@ -113,11 +113,11 @@ if __name__ == '__main__': # check if status changed, if yes, update css and tweet it if status == 'open' and old_status == 'closed': save_statusfile(STATUSFILE, status) - update_css('#0f0', '#222', 'status-open.png') + update_css(('#0f0', '#222', 'status-open.png')) tweet('open', last_change) elif status == 'closed' and old_status == 'open': save_statusfile(STATUSFILE, status) - update_css('#222', '#f00', 'status-closed.png') + update_css(('#222', '#f00', 'status-closed.png')) tweet('closed', last_change) else: - update_css = ('#222', '#222', 'status-unknown.png') + update_css = (('#222', '#222', 'status-unknown.png')) |