Skip to content

Commit

Permalink
small bot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jun 15, 2016
1 parent bf63209 commit a18f7fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/budy/bots/omni_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def sync_products_db(self):
if not merchandise: continue
merchandise.pop("stock_on_hand", None)
merchandise.pop("retail_price", None)
merchandise.pop("price", None)
self.sync_product_safe(merchandise)

def sync_measurements_db(self):
Expand All @@ -136,6 +137,7 @@ def sync_measurements_db(self):
if not merchandise: continue
merchandise.pop("stock_on_hand", None)
merchandise.pop("retail_price", None)
merchandise.pop("price", None)
self.sync_sub_product_safe(merchandise)

def fix_products_db(self):
Expand Down

0 comments on commit a18f7fe

Please sign in to comment.