mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-29 05:55:28 -04:00
reorder version output
This commit is contained in:
parent
6a33de6715
commit
fba3995d86
1 changed files with 5 additions and 5 deletions
|
@ -1036,6 +1036,11 @@ def get_data_locations(config: ConfigDict) -> ConfigValue:
|
||||||
'enabled': True,
|
'enabled': True,
|
||||||
'is_valid': config['SOURCES_DIR'].exists(),
|
'is_valid': config['SOURCES_DIR'].exists(),
|
||||||
},
|
},
|
||||||
|
'PERSONAS_DIR': {
|
||||||
|
'path': config['PERSONAS_DIR'].resolve(),
|
||||||
|
'enabled': True,
|
||||||
|
'is_valid': config['PERSONAS_DIR'].exists(),
|
||||||
|
},
|
||||||
'LOGS_DIR': {
|
'LOGS_DIR': {
|
||||||
'path': config['LOGS_DIR'].resolve(),
|
'path': config['LOGS_DIR'].resolve(),
|
||||||
'enabled': True,
|
'enabled': True,
|
||||||
|
@ -1051,11 +1056,6 @@ def get_data_locations(config: ConfigDict) -> ConfigValue:
|
||||||
'enabled': bool(config['CUSTOM_TEMPLATES_DIR']),
|
'enabled': bool(config['CUSTOM_TEMPLATES_DIR']),
|
||||||
'is_valid': config['CUSTOM_TEMPLATES_DIR'] and Path(config['CUSTOM_TEMPLATES_DIR']).exists(),
|
'is_valid': config['CUSTOM_TEMPLATES_DIR'] and Path(config['CUSTOM_TEMPLATES_DIR']).exists(),
|
||||||
},
|
},
|
||||||
'PERSONAS_DIR': {
|
|
||||||
'path': config['PERSONAS_DIR'].resolve(),
|
|
||||||
'enabled': True,
|
|
||||||
'is_valid': config['PERSONAS_DIR'].exists(),
|
|
||||||
},
|
|
||||||
# managed by bin/docker_entrypoint.sh and python-crontab:
|
# managed by bin/docker_entrypoint.sh and python-crontab:
|
||||||
# 'CRONTABS_DIR': {
|
# 'CRONTABS_DIR': {
|
||||||
# 'path': config['CRONTABS_DIR'].resolve(),
|
# 'path': config['CRONTABS_DIR'].resolve(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue