From 8c8c00586d06b4d3ad7a586318c4bf5aeaaaa5df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Fri, 28 May 2021 14:00:36 -0400 Subject: [PATCH] Fix logic reversal error in our interactive/debug mode identification --- pomodoro_to_harvest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pomodoro_to_harvest.py b/pomodoro_to_harvest.py index 553abdc..327c928 100644 --- a/pomodoro_to_harvest.py +++ b/pomodoro_to_harvest.py @@ -6,7 +6,7 @@ import sys # Import our local settings management. import settings -if not hasattr(sys, 'ps1'): +if hasattr(sys, 'ps1'): import copy debug = True else: