Add $folder special key support for keysfile
@@ -255,6 +255,9 @@ class ObjectDumper:
if "$base_model" in lookup:
lookup = lookup.replace("$base_model", subs_model)
try:
+ if lookup == "$folder":
+ val = os.path.abspath(folder_path)
+ else:
val = config.get_default(lookup)
except:
# creates empty field if key is not existing
