Skip to content

Commit

Permalink
remove leftover debug prints, that would break on older OS
Browse files Browse the repository at this point in the history
  • Loading branch information
petersilva committed Dec 13, 2024
1 parent 5fc5a04 commit c4a12ad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sarracenia/sr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1613,12 +1613,10 @@ def disable(self):
else:
state_file_dir = self.user_cache_dir + os.sep + f.replace('/', os.sep)

logger.critical( f"{state_file_dir=}" )
if not os.path.isdir(state_file_dir):
os.makedirs(state_file_dir, exist_ok=True)

state_file_disabled = state_file_dir + os.sep + 'disabled'
logger.critical( f"{state_file_disabled=}" )

if os.path.exists(state_file_disabled):
logging.error("%s is already disabled! " % f)
Expand Down

0 comments on commit c4a12ad

Please sign in to comment.