Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Karl Pietrowski <thopiekar@googlemail.com>2017-11-15 03:21:08 +0300
committerGitHub <noreply@github.com>2017-11-15 03:21:08 +0300
commitb2da4894b1f4eca8b39a288b6fc73ab830e69950 (patch)
treee9bb8096e9314eafff00c3e0d3584d25ae2ffad3 /cura/CuraApplication.py
parent8dd91519a67983b913c4d18d7ccb4dcbf3cdef82 (diff)
CuraApplication: Rename file --> file_name
'file' is a built-in function!
Diffstat (limited to 'cura/CuraApplication.py')
-rwxr-xr-xcura/CuraApplication.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py
index 41358b83f5..96ca15741e 100755
--- a/cura/CuraApplication.py
+++ b/cura/CuraApplication.py
@@ -719,8 +719,8 @@ class CuraApplication(QtApplication):
if run_headless or self._engine.rootObjects:
self.closeSplash()
- for file in self.getCommandLineOption("file", []):
- self._openFile(file)
+ for file_name in self.getCommandLineOption("file", []):
+ self._openFile(file_name)
for file_name in self._open_file_queue: #Open all the files that were queued up while plug-ins were loading.
self._openFile(file_name)