diff options
author | Florian <stayawake@lavabit.com> | 2014-02-13 00:17:37 +0100 |
---|---|---|
committer | Florian <stayawake@lavabit.com> | 2014-02-13 00:17:37 +0100 |
commit | 226899791a4a3bfc0a8254c7347a1e383dcee65e (patch) | |
tree | 3e037bfa8b5767bf48888790c0751d9988dc2225 | |
parent | d9cf1f50403631f4573b6dae553df6e4b72adf6c (diff) |
there is only one argument for update_css
-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')) |