summaryrefslogtreecommitdiff
path: root/inkstitch.py
diff options
context:
space:
mode:
Diffstat (limited to 'inkstitch.py')
-rw-r--r--inkstitch.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/inkstitch.py b/inkstitch.py
index 319b6691..65331cec 100644
--- a/inkstitch.py
+++ b/inkstitch.py
@@ -29,6 +29,11 @@ from lib import extensions
from lib.i18n import _
from lib.utils import restore_stderr, save_stderr, version
+# ignore warnings in releases
+if getattr(sys, 'frozen', None):
+ import warnings
+ warnings.filterwarnings('ignore')
+
logger = logging.getLogger('shapely.geos')
logger.setLevel(logging.DEBUG)
shapely_errors = StringIO()