From 4b99c70f862db8bd537f218c271fc368fd9d6bbb Mon Sep 17 00:00:00 2001 From: Kate Murphy Date: Sun, 21 Apr 2019 13:12:12 -0400 Subject: Removed duplicated logging code --- inkstitch.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/inkstitch.py b/inkstitch.py index 8a3ac626..840cdc58 100644 --- a/inkstitch.py +++ b/inkstitch.py @@ -20,16 +20,6 @@ ch.setFormatter(formatter) logger.addHandler(ch) -logger = logging.getLogger('shapely.geos') -logger.setLevel(logging.DEBUG) -shapely_errors = StringIO() -ch = logging.StreamHandler(shapely_errors) -ch.setLevel(logging.DEBUG) -formatter = logging.Formatter('%(name)s - %(levelname)s - %(message)s') -ch.setFormatter(formatter) -logger.addHandler(ch) - - parser = ArgumentParser() parser.add_argument("--extension") my_args, remaining_args = parser.parse_known_args() -- cgit v1.2.3