Files
bearhub/bauh/gems/appimage/config.py

12 lines
295 B
Python

from bauh.commons.config import read_config as read
from bauh.gems.appimage import CONFIG_FILE
def read_config(update_file: bool = False) -> dict:
default = {
'database': {
'expiration': 60
}
}
return read(CONFIG_FILE, default, update_file=update_file)