Skip to content

Commit

Permalink
PEP 8 Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
withoutwaxaryan committed Jun 8, 2020
1 parent 11f6182 commit a1ecf10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastkml/kml.py
Expand Up @@ -410,7 +410,7 @@ def snippet(self):
if text:
if not (isinstance(text, basestring)):
raise TypeError("text should be of"
"type basestring")
"type basestring")
max_lines = self._snippet.get('maxLines', None)
if max_lines is None:
return {'text': text}
Expand Down Expand Up @@ -494,7 +494,7 @@ def etree_element(self):
else:
if not (isinstance(self.snippet['text'], basestring)):
raise TypeError("text snippet should be of"
"type basestring")
"type basestring")
snippet.text = self.snippet['text']
if self.snippet.get('maxLines'):
snippet.set('maxLines', str(self.snippet['maxLines']))
Expand Down

0 comments on commit a1ecf10

Please sign in to comment.