Update settings.py

This commit is contained in:
Christopher Nethercott 2024-01-15 17:10:38 +00:00 committed by GitHub
parent bd3e287161
commit 0177294a72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -927,7 +927,7 @@ for t in json.loads(os.getenv("PAPERLESS_FILENAME_PARSE_TRANSFORMS", "[]")):
FILENAME_PARSE_TRANSFORMS.append((re.compile(t["pattern"]), t["repl"]))
# Specify the filename format for out files
FILENAME_FORMAT = os.getenv("PAPERLESS_FILENAME_FORMAT").replace("\"", "")
FILENAME_FORMAT = os.getenv("PAPERLESS_FILENAME_FORMAT").replace('\"', "")
# If this is enabled, variables in filename format will resolve to
# empty-string instead of 'none'.