Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
aanil committed Jan 12, 2024
1 parent 788bffd commit d913476
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions daily_read/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ def get_git_commits():


# Rudimentary Error reporting
def error_reporting(log, module='all'):
def error_reporting(log, module="all"):
"""Raise an error if there are Error level messages in the daily_read module logs"""
error_string = ""
if module=='all':
module = 'daily_read'
if module == "all":
module = "daily_read"
for child in log.root.manager.loggerDict:
if module in child:
cache = log.root.getChild(child)._cache
Expand Down

0 comments on commit d913476

Please sign in to comment.