dtalley11

Untitled

Feb 12th, 2013
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. :dtalley11!~dtalley11@unaffiliated/dtalley11 PRIVMSG #teamgelato :http
  2. Traceback (most recent call last):
  3. File "bot.py", line 79, in <module>
  4. commands(nick,channel,ircmsg)
  5. File "bot.py", line 25, in commands
  6. find_urls(nick,channel,message)
  7. File "bot.py", line 52, in find_urls
  8. short=api.shorten(url_list) #send url to api
  9. File "/home/dtalley11/bot/bitly.py", line 69, in shorten
  10. self._CheckForError(json)
  11. File "/home/dtalley11/bot/bitly.py", line 177, in _CheckForError
  12. for key in data['results']:
  13. TypeError: 'NoneType' object is not iterable
Advertisement
Add Comment
Please, Sign In to add comment