eric6/eric6_shell.py

changeset 8143
2c730d5fd177
parent 7960
e8fc383322f7
--- a/eric6/eric6_shell.py	Mon Mar 01 17:48:43 2021 +0100
+++ b/eric6/eric6_shell.py	Tue Mar 02 17:17:09 2021 +0100
@@ -29,8 +29,8 @@
         settingsDir = os.path.expanduser(arg.replace("--settings=", ""))
         if not os.path.isdir(settingsDir):
             os.makedirs(settingsDir)
-        QSettings.setPath(QSettings.IniFormat, QSettings.UserScope,
-                          settingsDir)
+        QSettings.setPath(
+            QSettings.Format.IniFormat, QSettings.Scope.UserScope, settingsDir)
         sys.argv.remove(arg)
 
 from Globals import AppInfo

eric ide

mercurial