Traceback (most recent call last):
File "/Users/admin/Desktop/twitter-contest-bot-master/main.py", line 240, in
CheckRateLimit()
File "/Users/admin/Desktop/twitter-contest-bot-master/main.py", line 73, in CheckRateLimit
percent = float(remaining)/float(limit)*100
NameError: global name 'remaining' is not defined
Exception in thread Thread-1:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 1073, in run
self.function(_self.args, _self.kwargs)
File "/Users/admin/Desktop/twitter-contest-bot-master/main.py", line 73, in CheckRateLimit
percent = float(remaining)/float(limit)100
NameError: global name 'remaining' is not defined
Traceback (most recent call last): File "/Users/admin/Desktop/twitter-contest-bot-master/main.py", line 240, in
CheckRateLimit()
File "/Users/admin/Desktop/twitter-contest-bot-master/main.py", line 73, in CheckRateLimit
percent = float(remaining)/float(limit)*100
NameError: global name 'remaining' is not defined
Any ideas?