Skip to content

Commit

Permalink
[pyqgis-console] small fix for non-ascii chars
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Aug 7, 2013
1 parent a463e39 commit 07c524a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/console/console_sci.py
Expand Up @@ -512,7 +512,7 @@ def dropEvent(self, e):
QsciScintillaCompat.dropEvent(self, e)

def insertFromDropPaste(self, textDP):
pasteList = str(textDP).splitlines()
pasteList = unicode(textDP).splitlines()
for line in pasteList[:-1]:
cleanLine = line.replace(">>> ", "").replace("... ", "")
self.insert(unicode(cleanLine))
Expand Down

1 comment on commit 07c524a

@m-kuhn
Copy link
Member

@m-kuhn m-kuhn commented on 07c524a Aug 7, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet, I was just going to open an issue report fort this 👍

Please sign in to comment.