diff options
author | Thomas Karl Pietrowski <thopiekar@googlemail.com> | 2017-11-15 03:21:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-15 03:21:08 +0300 |
commit | b2da4894b1f4eca8b39a288b6fc73ab830e69950 (patch) | |
tree | e9bb8096e9314eafff00c3e0d3584d25ae2ffad3 /cura/CuraApplication.py | |
parent | 8dd91519a67983b913c4d18d7ccb4dcbf3cdef82 (diff) |
CuraApplication: Rename file --> file_name
'file' is a built-in function!
Diffstat (limited to 'cura/CuraApplication.py')
-rwxr-xr-x | cura/CuraApplication.py | 4 |
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) |