Skip to content

Commit

Permalink
add space in log to accommodate monitoring multiple concurrent curren…
Browse files Browse the repository at this point in the history
…cy earnings
  • Loading branch information
barlaensdoonn committed Jul 30, 2017
1 parent 13a9a85 commit d3fd001
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions earnings.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,11 @@ def _recalculate_earnings(self):
self.recalculate = False

def _log_earnings(self):
self.logger.info('')
self.logger.info('{} earnings updated at {}'.format(self.currency.upper(), datetime.now()))

for key in self.earnings:
self.logger.info('')
self.logger.info('- - - - - - - - {} - - - - - - - - - '.format(key))
for thing in self.log_order:
self.logger.info('{}: {}'.format(thing, self.earnings[key][thing]))
Expand Down

0 comments on commit d3fd001

Please sign in to comment.