eric6/QScintilla/Shell.py

changeset 8169
139bd30c52c2
parent 8146
db2d19af4675
child 8176
31965986ecd1
child 8218
7c09585bd960
--- a/eric6/QScintilla/Shell.py	Mon Mar 22 19:22:11 2021 +0100
+++ b/eric6/QScintilla/Shell.py	Mon Mar 22 19:31:18 2021 +0100
@@ -1825,8 +1825,8 @@
                                     self.dbs.startClient(
                                         False,
                                         forProject=True,
-                                        workingDir=
-                                        self.__project.getProjectPath()
+                                        workingDir=self.__project
+                                        .getProjectPath()
                                     )
                                     self.__currentWorkingDirectory = (
                                         self.__project.getProjectPath()
@@ -1835,8 +1835,8 @@
                                     self.dbs.startClient(
                                         False,
                                         venvName=self.__currentVenv,
-                                        workingDir=
-                                        self.__currentWorkingDirectory
+                                        workingDir=self
+                                        .__currentWorkingDirectory
                                     )
                                     # same as reset
                             else:
@@ -2401,3 +2401,6 @@
         if Preferences.getProject("RestartShellForProject"):
             self.dbs.startClient(False)
             self.__getBanner()
+
+#
+# eflag: noqa = M601

eric ide

mercurial