Skip to content

Commit

Permalink
Removed logging (#1171)
Browse files Browse the repository at this point in the history
Should not logg when logging is done once it finds something to release
  • Loading branch information
fredrik-hellmangroup authored and douglascamata committed Jul 27, 2016
1 parent 8d1e127 commit 7024c14
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pokemongo_bot/cell_workers/recycle_items_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ def __init__(self, bot):
self.item_list = bot.item_list

def work(self):
logger.log('Starting to recycle items...', 'yellow')
item_count_dict = self.bot.item_inventory_count('all')

for item_id, bag_count in item_count_dict.iteritems():
Expand Down Expand Up @@ -42,7 +41,6 @@ def work(self):
logger.log(message, 'green')
else:
logger.log("-- Failed to recycle " + item_name + "has failed!", 'red')
logger.log('Finished.', 'yellow')

def send_recycle_item_request(self, item_id, count):
self.api.recycle_inventory_item(item_id=item_id, count=count)
Expand Down

0 comments on commit 7024c14

Please sign in to comment.