mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-28 13:44:14 -04:00
fix admin data view configs type rendering
This commit is contained in:
parent
ed45f58758
commit
0cfcabf6f4
1 changed files with 2 additions and 2 deletions
|
@ -519,9 +519,9 @@ def find_config_default(key: str) -> str:
|
|||
|
||||
def find_config_type(key: str) -> str:
|
||||
if key in USER_CONFIG:
|
||||
return USER_CONFIG[key]['type'].__name__
|
||||
return str(USER_CONFIG[key]['type'])
|
||||
elif key in DYNAMIC_CONFIG_SCHEMA:
|
||||
return type(CONFIG[key]).__name__
|
||||
return str(type(CONFIG[key]))
|
||||
return 'str'
|
||||
|
||||
def key_is_safe(key: str) -> bool:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue