Posted March 21, 2016
Ok, yes I figured out.
My errors copied from the prompt:
Traceback (most recent call last):
File "the_napping_gamer.py", line 518, in <module>
wait_time = max(min(sleep_time, check_games()), minimum_sleep_value)
File "the_napping_gamer.py", line 452, in check_games
for game_info in extract_game_data(read_from_url(url)):
File "the_napping_gamer.py", line 398, in extract_game_data
local_discount_price, local_full_price = get_price_value(data["product"]["prices"])
File "the_napping_gamer.py", line 372, in get_price_value
values = currency_values[currency_code][str(index)].split(";")KeyError: '3'
Uh, wouldn't the default 99.99 price still work for that?
My errors copied from the prompt:
Traceback (most recent call last):
File "the_napping_gamer.py", line 518, in <module>
wait_time = max(min(sleep_time, check_games()), minimum_sleep_value)
File "the_napping_gamer.py", line 452, in check_games
for game_info in extract_game_data(read_from_url(url)):
File "the_napping_gamer.py", line 398, in extract_game_data
local_discount_price, local_full_price = get_price_value(data["product"]["prices"])
File "the_napping_gamer.py", line 372, in get_price_value
values = currency_values[currency_code][str(index)].split(";")KeyError: '3'
Uh, wouldn't the default 99.99 price still work for that?
Post edited March 21, 2016 by phaolo