CuraApplication: Rename file --> file_name

'file' is a built-in function!
This commit is contained in:
Thomas Karl Pietrowski 2017-11-15 01:21:08 +01:00 committed by GitHub
parent 8dd91519a6
commit b2da4894b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)