From 53c4958ff3d2d08374aa0dba8e23861082729a67 Mon Sep 17 00:00:00 2001 From: VikingKong Date: Tue, 20 Dec 2022 15:59:33 +0300 Subject: [PATCH] Use config.yml from ~/.config/inomnibus folder --- App.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/App.py b/App.py index 2ea1e5b..fcd513c 100644 --- a/App.py +++ b/App.py @@ -274,7 +274,7 @@ class TUI(urwid.Frame): def __init__(self): - with open('config.yml', 'r') as file: + with open(os.path.expanduser('~') + '/.config/inomnibus/config.yml', 'r') as file: config = yaml.safe_load(file) URL = config["server"]["URL"] token = config["server"]["token"]