Merge branch 'fix_postprocessing_script_path' of https://github.com/fieldOfView/Cura into fieldOfView-fix_postprocessing_script_path

This commit is contained in:
Ghostkeeper 2018-03-12 09:42:21 +01:00
commit a3efbc70fb
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A

View file

@ -173,7 +173,7 @@ class PostProcessingPlugin(QObject, Extension):
Logger.log("d", "Creating post processing plugin view.") Logger.log("d", "Creating post processing plugin view.")
## Load all scripts in the scripts folders ## Load all scripts in the scripts folders
for root in [PluginRegistry.getInstance().getPluginPath("PostProcessingPlugin"), Resources.getStoragePath(Resources.Preferences)]: for root in [PluginRegistry.getInstance().getPluginPath("PostProcessingPlugin"), Resources.getStoragePath(Resources.Resources)]:
path = os.path.join(root, "scripts") path = os.path.join(root, "scripts")
if not os.path.isdir(path): if not os.path.isdir(path):
try: try: