Commit 4178fce7 authored by Jeremy Blalock's avatar Jeremy Blalock

Fixed tuple assignment issue in kml.py, line 551

parent 01739e2c
......@@ -447,10 +447,11 @@ class _Feature(_BaseObject):
self._styleUrl = s
snippet = element.find('%sSnippet' % self.ns)
if snippet is not None:
self._snippet = ('',0)
self._snippet[0] = snippet.text
self._snippet = (snippet.text,)
if snippet.get('maxLines'):
self._snippet[1] = int(snippet.get('maxLines'))
self._snippet += (int(snippet.get('maxLines')),)
else:
self._snippet += (0,)
timespan = element.find('%sTimeSpan' % self.ns)
if timespan is not None:
s = TimeSpan()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment