kernelcoffee / SteamSelfGifter

Bot for steamgifts.com
GNU General Public License v3.0
8 stars 3 forks source link

Crash #4

Closed kernelcoffee closed 4 years ago

kernelcoffee commented 4 years ago
steamselfgifter    | Traceback (most recent call last):
steamselfgifter    |   File "/app/steamselfgifter.py", line 91, in <module>
steamselfgifter    |     games = get_games()
steamselfgifter    |   File "/app/steamselfgifter.py", line 69, in get_games
steamselfgifter    |     game = process_game(item)
steamselfgifter    |   File "/app/steamselfgifter.py", line 24, in process_game
steamselfgifter    |     game.set_steam_id(item.find("a", {"class": "giveaway__icon"})["href"])
steamselfgifter    | TypeError: 'NoneType' object is not subscriptable
kernelcoffee commented 4 years ago

Fixed with https://github.com/kernelcoffee/SteamSelfGifter/pull/5