Skip to content

Commit

Permalink
Fix typo in count logger initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
vdumoulin committed Jul 19, 2014
1 parent 99ff8b6 commit 0fc0c57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions register.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ def __init__(self, menu_file_path, employees_file_path,
'midnight')
count_handler.setLevel(logging.INFO)
count_formatter = logging.Formatter('%(asctime)s\n%(message)s')
count_handler.setFormatter(transaction_formatter)
count_logger.addHandler(transaction_handler)
count_handler.setFormatter(count_formatter)
count_logger.addHandler(count_handler)
self.count_logger = count_logger

# Logger for other events
Expand Down

0 comments on commit 0fc0c57

Please sign in to comment.