Skip to content

Commit

Permalink
fixed process_transaction call in set sell trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
alimjiwa committed Apr 1, 2012
1 parent 58ea6c2 commit f083079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sps/transactions/commands.py
Expand Up @@ -636,7 +636,7 @@ def check_trigger(self, trigger_id):
# buy the stock and update reserve balance
log.debug("Trigger %d activated: %s > %s",
trigger.id, quote, trigger.trigger_value)
return self.process_transaction(quote, trigger)
return self.process_transaction(session, quote, trigger)

except Exception, e:
log.error('Trigger %d: %s : %s', trigger_id, type(e), e)
Expand Down

0 comments on commit f083079

Please sign in to comment.