Files
bearhub/bauh/gems/appimage/config.py
2020-01-24 18:17:52 -03:00

13 lines
329 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 = {
'db_updater': {
'interval': 60 * 20,
'enabled': True
}
}
return read(CONFIG_FILE, default, update_file=update_file)