swimmerhair

Swimbot Error

Dec 13th, 2020
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.52 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "/home/pi/.local/lib/python3.7/site-packages/discord/ext/commands/core.py", line 85, in wrapped
  3.     ret = await coro(*args, **kwargs)
  4.   File "/home/pi/Swimbot/whois.py", line 228, in whois
  5.     player_info_list = sorted(player_info_list, key = lambda i: i['townHallLevel'],reverse=True)
  6.   File "/home/pi/Swimbot/whois.py", line 228, in <lambda>
  7.     player_info_list = sorted(player_info_list, key = lambda i: i['townHallLevel'],reverse=True)
  8. TypeError: 'NoneType' object is not subscriptable
  9.  
Add Comment
Please, Sign In to add comment