Skip to content

Commit

Permalink
Fix redefining built-in 'id'
Browse files Browse the repository at this point in the history
  • Loading branch information
bitphage committed Aug 8, 2019
1 parent 1a320a5 commit b73d2af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dexbot/strategies/staggered_orders.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,8 @@ def sync_current_orders(self):
to_add_ids = current_real_ids.difference(stored_ids)
to_add_orders = [order for order in current_real_orders if order['id'] in to_add_ids]

for id in to_remove_ids:
self.remove_order(id)
for _id in to_remove_ids:
self.remove_order(_id)

for order in to_add_orders:
self.save_order_extended(order, custom='current')
Expand Down

0 comments on commit b73d2af

Please sign in to comment.