Skip to content

Commit

Permalink
fixed flake8 vio
Browse files Browse the repository at this point in the history
  • Loading branch information
nctsiridis committed Dec 15, 2024
1 parent 18c450e commit c1e074c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sflib.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ def error(self, message: str, exc_info=False) -> None:
Args:
message (str): error message
exc_info (Exception): Additional exception information for logging.
"""
if not self.opts['__logging']:
return
Expand Down Expand Up @@ -229,6 +230,7 @@ def debug(self, message: str, exc_info=False) -> None:
Args:
message (str): debug message
exc_info (Exception): Additional exception information for logging.
"""
if not self.opts['_debug']:
return
Expand Down

0 comments on commit c1e074c

Please sign in to comment.