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:
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 e1805584b0..730b0468da 100755
--- a/cura/CuraApplication.py
+++ b/cura/CuraApplication.py
@@ -355,8 +355,8 @@ class CuraApplication(QtApplication):
Resources.addSecureSearchPath(os.path.join(self._app_install_dir, "share", "cura", "resources"))
if not hasattr(sys, "frozen"):
- resource_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "resources")
- Resources.addSecureSearchPath(resource_path)
+ Resources.addSecureSearchPath(os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "resources"))
+ Resources.addSecureSearchPath(os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "..", "res", "resources"))
@classmethod
def _initializeSettingDefinitions(cls):