Skip to content

Commit

Permalink
disabled an annoying warning
Browse files Browse the repository at this point in the history
  • Loading branch information
varchasgopalaswamy committed Mar 26, 2024
1 parent 01b10d0 commit 7d01efa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions prepper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ def check_equality(value1: Any, value2: Any, log: bool = False) -> bool:

# Just try to do a comparison
try:
loguru.logger.disable("prepper")
same = value1 == value2
same = bool(same)
loguru.logger.enable("prepper")

if not same:
if log:
loguru.logger.debug(
Expand Down

0 comments on commit 7d01efa

Please sign in to comment.