summaryrefslogtreecommitdiffstats
path: root/src/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts')
-rw-r--r--src/scripts/python/ingen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/python/ingen.py b/src/scripts/python/ingen.py
index 07698719..d6408406 100644
--- a/src/scripts/python/ingen.py
+++ b/src/scripts/python/ingen.py
@@ -312,7 +312,7 @@ class Environment:
elements = path.split("/")
currentPatch = None
for element in elements:
- if element == "":
+ if element.empty():
currentPatch = self.omPatch
else:
currentPatch = currentPatch.getPatch(element,mustexist)