diff --git a/BaseClasses.py b/BaseClasses.py index d45aac62..c273a26a 100644 --- a/BaseClasses.py +++ b/BaseClasses.py @@ -219,7 +219,7 @@ class World(object): else: if item.name == 'Teleporter': from Items import ItemFactory - print('Cannot assign item %s to location %s, replacing with red rupee.' % (item, location)) + logging.getLogger('').info('Cannot assign item %s to location %s, replacing with red rupee.' % (item, location)) self.push_item(location, ItemFactory('Rupees (20)', item.player), collect) else: raise RuntimeError('Cannot assign item %s to location %s.' % (item, location))