src/eric7/eric7_ide.py

branch
eric7
changeset 9431
dfc249493a98
parent 9429
b2db3a67525c
child 9473
3f23dbf37dbe
--- a/src/eric7/eric7_ide.py	Mon Oct 24 15:12:28 2022 +0200
+++ b/src/eric7/eric7_ide.py	Mon Oct 24 15:52:04 2022 +0200
@@ -122,7 +122,7 @@
                 "--disable-plugin=",
                 "--settings=",
             ):
-                if arg.startswith(switch) and sys.argv.index(switch) < ddindex:
+                if arg.startswith(switch) and sys.argv.index(arg) < ddindex:
                     sys.argv.remove(arg)
                     ddindex -= 1
                     break

eric ide

mercurial