From 91cb092aa0a0bca56b9b31215e56eefcba0d13ee Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Thu, 18 Apr 2019 10:15:02 -0700 Subject: [PATCH] Remove PyCharm debugger hack --- src/ocrmypdf/__main__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ocrmypdf/__main__.py b/src/ocrmypdf/__main__.py index f685823e..d60c243b 100755 --- a/src/ocrmypdf/__main__.py +++ b/src/ocrmypdf/__main__.py @@ -66,10 +66,6 @@ def complain(message): print(*textwrap.wrap(message), file=sys.stderr) -# Hack to help debugger context find /usr/local/bin -if 'IDE_PROJECT_ROOTS' in os.environ: - os.environ['PATH'] = '/usr/local/bin:' + os.environ['PATH'] - # -------- # Critical environment tests