correct option reading
authorYves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Wed, 13 Nov 2013 17:55:34 +0100
changeset 987 18cb05f027a0
parent 986 fa640babbb0d
child 988 954019f62866
correct option reading
script/rest/search_twitter.py
--- a/script/rest/search_twitter.py	Wed Nov 13 14:17:21 2013 +0100
+++ b/script/rest/search_twitter.py	Wed Nov 13 17:55:34 2013 +0100
@@ -39,7 +39,7 @@
 
 if __name__ == "__main__":
 
-    (options, args) = get_options()
+    options = get_options()
     
     access_token = utils.get_oauth_token(consumer_key=options.consumer_key, consumer_secret=options.consumer_secret, token_file_path=options.token_filename)
     auth = get_auth(options, access_token)