mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Continue if there is no scripts folder inside a resource folder
Co-authored-by: Casper Lamboo <casperlamboo@gmail.com>
This commit is contained in:
parent
8560a9b57c
commit
1924d8c1b0
1 changed files with 2 additions and 0 deletions
|
@ -159,6 +159,8 @@ class PostProcessingPlugin(QObject, Extension):
|
|||
if root is None:
|
||||
continue
|
||||
path = os.path.join(root, "scripts")
|
||||
if not os.path.isdir(path):
|
||||
continue
|
||||
self.loadScripts(path)
|
||||
|
||||
def loadScripts(self, path: str) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue