kurozael / twitter-contest-bot

Will poll for Retweet Contests and retweet them. Inspired by http://www.hscott.net/twitter-contest-winning-as-a-service/
236 stars 107 forks source link

TypeError: cannot concatenate 'str' and 'exceptions.UnboundLocalError' objects #18

Closed pbartett closed 8 years ago

pbartett commented 8 years ago

When run i receive the below errors:-

`Traceback (most recent call last): File "main.py", line 243, in ScanForContests() File "main.py", line 235, in ScanForContests print("Exception: " + e) TypeError: cannot concatenate 'str' and 'exceptions.UnboundLocalError' objects Exception in thread Thread-1 (most likely raised during interpreter shutdown):Exception in thread Thread-2 (most likely raised during interpreter shutdown): Traceback (most recent call last):

Traceback (most recent call last): File "/usr/local/lib/python2.7/threading.py", line 810, in __bootstrap_inner File "/usr/local/lib/python2.7/threading.py", line 810, in __bootstrap_inner File "/usr/local/lib/python2.7/threading.py", line 1082, in run File "main.py", line 156, in ScanForContests File "/usr/local/lib/python2.7/threading.py", line 1082, in run <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'Timer' `