Skip to content

Commit

Permalink
simplify DEBUG detection harvester.py (#11327)
Browse files Browse the repository at this point in the history
  • Loading branch information
hduelme authored Feb 2, 2023
1 parent 8338042 commit 8097473
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python3/cinnamon/harvester.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@
from . import logger
from . import proxygsettings

DEBUG = False
if os.getenv("DEBUG") is not None:
DEBUG = True
DEBUG = os.getenv("DEBUG") is not None
def debug(msg):
if DEBUG:
print(msg)
Expand Down

0 comments on commit 8097473

Please sign in to comment.