mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-08 00:06:51 -05:00
[pyqgis-console] small fix for non-ascii chars
This commit is contained in:
parent
a463e392a2
commit
07c524a928
@ -512,7 +512,7 @@ class ShellScintilla(QsciScintilla, code.InteractiveInterpreter):
|
||||
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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user