DjangoDialog: fixed a bug causing sending some input to the Django process to fail. release-5.2.2

Mon, 13 Aug 2018 16:58:11 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 13 Aug 2018 16:58:11 +0200
changeset 140
a6c1fcaa2617
parent 139
327504dbb48b
child 141
578992fba712

DjangoDialog: fixed a bug causing sending some input to the Django process to fail.

ChangeLog file | annotate | diff | comparison | revisions
PluginProjectDjango.py file | annotate | diff | comparison | revisions
PluginProjectDjango.zip file | annotate | diff | comparison | revisions
ProjectDjango/DjangoDialog.py file | annotate | diff | comparison | revisions
diff -r 327504dbb48b -r a6c1fcaa2617 ChangeLog
--- a/ChangeLog	Fri Jul 06 18:45:15 2018 +0200
+++ b/ChangeLog	Mon Aug 13 16:58:11 2018 +0200
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 5.2.2:
+- bug fixes
+
 Version 5.2.1:
 - updated Russian translations
 - updated Spanish translations
diff -r 327504dbb48b -r a6c1fcaa2617 PluginProjectDjango.py
--- a/PluginProjectDjango.py	Fri Jul 06 18:45:15 2018 +0200
+++ b/PluginProjectDjango.py	Mon Aug 13 16:58:11 2018 +0200
@@ -28,7 +28,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "5.2.1"
+version = "5.2.2"
 className = "ProjectDjangoPlugin"
 packageName = "ProjectDjango"
 shortDescription = "Project support for Django projects."
diff -r 327504dbb48b -r a6c1fcaa2617 PluginProjectDjango.zip
Binary file PluginProjectDjango.zip has changed
diff -r 327504dbb48b -r a6c1fcaa2617 ProjectDjango/DjangoDialog.py
--- a/ProjectDjango/DjangoDialog.py	Fri Jul 06 18:45:15 2018 +0200
+++ b/ProjectDjango/DjangoDialog.py	Mon Aug 13 16:58:11 2018 +0200
@@ -25,7 +25,7 @@
 
 import Preferences
 
-from Globals import isWindowsPlatform
+from Globals import isWindowsPlatform, strToQByteArray
 
 
 class DjangoDialog(QDialog, Ui_DjangoDialog):
@@ -332,7 +332,7 @@
             self.errors.insertPlainText(inputTxt)
             self.errors.ensureCursorVisible()
         
-        self.proc.write(inputTxt)
+        self.proc.write(strToQByteArray(inputTxt))
         
         self.input.clear()
         self.passwordCheckBox.setChecked(False)

eric ide

mercurial