Add config variable for update check

This commit is contained in:
Michael Shamoon
2022-04-01 07:22:55 -07:00
parent 95ce2360da
commit 703abae41a
4 changed files with 33 additions and 15 deletions

View File

@@ -566,3 +566,5 @@ if os.getenv("PAPERLESS_IGNORE_DATES", ""):
d = dateparser.parse(s)
if d:
IGNORE_DATES.add(d.date())
ENABLE_UPDATE_CHECK = __get_boolean("PAPERLESS_ENABLE_UPDATE_CHECK", "true")