diff options
author | Simon Edwards <s.edwards@ultimaker.com> | 2016-12-12 18:05:35 +0300 |
---|---|---|
committer | Simon Edwards <s.edwards@ultimaker.com> | 2016-12-12 18:05:35 +0300 |
commit | 74e5798509b274908fc98b704fdc7848c6ab4e27 (patch) | |
tree | 8e31c1e4cc408496ba4894915b0a12f5cb14e3fd /cura_app.py | |
parent | 5884509af1f785d6c48b0af294ae9a989ecb2155 (diff) |
Lots of import fixes. Eliminated the import hacks such as those used inside UM/Settings/__init__.py.
CURA-2917
Diffstat (limited to 'cura_app.py')
-rwxr-xr-x | cura_app.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cura_app.py b/cura_app.py index 6c75e49fb7..c6f7e27065 100755 --- a/cura_app.py +++ b/cura_app.py @@ -55,5 +55,8 @@ if Platform.isWindows() and hasattr(sys, "frozen"): sys.stdout = open(os.path.join(dirpath, "stdout.log"), "w") sys.stderr = open(os.path.join(dirpath, "stderr.log"), "w") +# Force an instance of CuraContainerRegistry to be created and reused later. +cura.Settings.CuraContainerRegistry.CuraContainerRegistry.getInstance() + app = cura.CuraApplication.CuraApplication.getInstance() app.run() |