Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :dtalley11!~dtalley11@unaffiliated/dtalley11 PRIVMSG #teamgelato :http
- Traceback (most recent call last):
- File "bot.py", line 79, in <module>
- commands(nick,channel,ircmsg)
- File "bot.py", line 25, in commands
- find_urls(nick,channel,message)
- File "bot.py", line 52, in find_urls
- short=api.shorten(url_list) #send url to api
- File "/home/dtalley11/bot/bitly.py", line 69, in shorten
- self._CheckForError(json)
- File "/home/dtalley11/bot/bitly.py", line 177, in _CheckForError
- for key in data['results']:
- TypeError: 'NoneType' object is not iterable
Advertisement
Add Comment
Please, Sign In to add comment