diff --git a/Gui.py b/Gui.py index aeefb57a..67a5475b 100755 --- a/Gui.py +++ b/Gui.py @@ -1582,4 +1582,5 @@ def get_image_for_sprite(sprite): return image.zoom(2) if __name__ == '__main__': + logging.basicConfig(format='%(message)s', level=logging.INFO) guiMain() diff --git a/ItemList.py b/ItemList.py index 7bba1b8c..31eca8dc 100644 --- a/ItemList.py +++ b/ItemList.py @@ -367,7 +367,8 @@ def fill_prizes(world, attempts=15): random.shuffle(prize_locs) fill_restrictive(world, all_state, prize_locs, prizepool, True) except FillError as e: - logging.getLogger('').info("Failed to place dungeon prizes (%s). Will retry %s more times", e, attempts - attempt - 1) + logging.getLogger('').exception("Failed to place dungeon prizes (%s). Will retry %s more times", e, + attempts - attempt - 1) for location in empty_crystal_locations: location.item = None continue