Skip to content
Snippets Groups Projects
Commit b9d234a5 authored by m431m's avatar m431m :speech_balloon:
Browse files

Debug

parent f67e7937
No related branches found
No related tags found
No related merge requests found
...@@ -276,13 +276,15 @@ class Layer(MetadataMixin): ...@@ -276,13 +276,15 @@ class Layer(MetadataMixin):
return None return None
try: try:
logging.error('TEST DEBUG')
logging.error(os.path.join(os.path.dirname(__file__), "%s.sld" % s_name))
style = open(os.path.join(os.path.dirname(__file__), style = open(os.path.join(os.path.dirname(__file__),
"%s.sld" % s_name), encoding="utf-8").read() "%s.sld" % s_name), encoding="utf-8").read()
except IOError as OSError: except IOError as OSError:
logging.warning( logging.warning(
"mra.py::Layer::set_default_style IOError %s", OSError) "mra.py::Layer::set_default_style IOError %s", OSError)
return return
logging.error(style)
self.add_style_sld(mf, s_name, style) self.add_style_sld(mf, s_name, style)
self.ms.classgroup = s_name self.ms.classgroup = s_name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment