[fix] prevent Shapely from logging to console

This commit is contained in:
Al
2017-02-15 14:00:51 -05:00
parent a0b508caf6
commit 26bf617a06

View File

@@ -50,6 +50,9 @@ from collections import defaultdict, OrderedDict
from lxml import etree
from itertools import ifilter, chain, combinations
from shapely.geos import LOG as shapely_geos_logger
shapely_geos_logger.propagate = False
this_dir = os.path.realpath(os.path.dirname(__file__))
sys.path.append(os.path.realpath(os.path.join(os.pardir, os.pardir)))