summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian <stayawake@lavabit.com>2014-02-13 00:17:37 +0100
committerFlorian <stayawake@lavabit.com>2014-02-13 00:17:37 +0100
commit226899791a4a3bfc0a8254c7347a1e383dcee65e (patch)
tree3e037bfa8b5767bf48888790c0751d9988dc2225
parentd9cf1f50403631f4573b6dae553df6e4b72adf6c (diff)
there is only one argument for update_css
-rwxr-xr-xscripts/status_script.py6
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'))