From 226899791a4a3bfc0a8254c7347a1e383dcee65e Mon Sep 17 00:00:00 2001 From: Florian Date: Thu, 13 Feb 2014 00:17:37 +0100 Subject: there is only one argument for update_css --- scripts/status_script.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') 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')) -- cgit v1.2.1