mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 19:46:48 +01:00
fix test cases
This commit is contained in:
parent
bb814da95b
commit
e79c45c98d
2 changed files with 3 additions and 7 deletions
|
|
@ -36,12 +36,9 @@ def paths_check(app_configs, **kwargs):
|
|||
Check the various paths for existence, readability and writeability
|
||||
"""
|
||||
|
||||
check_messages = path_check("PAPERLESS_DATA_DIR", settings.DATA_DIR) + \
|
||||
return path_check("PAPERLESS_DATA_DIR", settings.DATA_DIR) + \
|
||||
path_check("PAPERLESS_MEDIA_ROOT", settings.MEDIA_ROOT) + \
|
||||
path_check("PAPERLESS_CONSUMPTION_DIR", settings.CONSUMPTION_DIR) + \
|
||||
path_check("PAPERLESS_STATICDIR", settings.STATIC_ROOT)
|
||||
|
||||
return check_messages
|
||||
path_check("PAPERLESS_CONSUMPTION_DIR", settings.CONSUMPTION_DIR)
|
||||
|
||||
|
||||
@register()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue