mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-10 11:04:15 +02:00
[appimage] new config file
This commit is contained in:
12
bauh/gems/appimage/config.py
Normal file
12
bauh/gems/appimage/config.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from bauh.api.constants import CONFIG_PATH
|
||||
from bauh.commons.config import read_config as read
|
||||
|
||||
|
||||
def read_config(update_file: bool = False) -> dict:
|
||||
default = {
|
||||
'db_updater': {
|
||||
'interval': 60 * 20,
|
||||
'enabled': True
|
||||
}
|
||||
}
|
||||
return read('{}/appimage.yml'.format(CONFIG_PATH), default, update_file=update_file)
|
||||
Reference in New Issue
Block a user