PyInstaller/PyInstallerConfigDialog.py

changeset 6
0f0f1598fc4a
parent 5
8c92d66d20e4
child 20
a7ac91a1a57e
diff -r 8c92d66d20e4 -r 0f0f1598fc4a PyInstaller/PyInstallerConfigDialog.py
--- a/PyInstaller/PyInstallerConfigDialog.py	Fri Jan 19 17:08:15 2018 +0100
+++ b/PyInstaller/PyInstallerConfigDialog.py	Sat Jan 20 15:58:14 2018 +0100
@@ -255,7 +255,8 @@
             args.append("--clean")
         
         # 3. always add these arguments
-        args.append("--noconfirm")  # don't ask the user
+        if self.__mode == "installer":
+            args.append("--noconfirm")  # don't ask the user
         
         # determine the script to be processed
         if self.__parameters["mainscript"]:

eric ide

mercurial