Skip to content

Commit

Permalink
fix minor logging bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bobokun committed Sep 1, 2022
1 parent 79b6569 commit cdbaad2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ def check_for_attribute(self,
message = message + "\n" + options
raise Failed(f"Config Error: {message}")
if do_print:
logger.print(f"Config Warning: {message}", "warning")
logger.print_line(f"Config Warning: {message}", "warning")
if data and attribute in data and data[attribute] and test_list is not None and data[attribute] not in test_list:
logger.print(options)
logger.print_line(options)
return default


Expand Down

0 comments on commit cdbaad2

Please sign in to comment.