From b52ca31e177d21c1909f889dafa369ddcc981124 Mon Sep 17 00:00:00 2001 From: airclay Date: Sat, 4 Sep 2021 16:50:47 -0500 Subject: [PATCH] file paths WIP --- systrayUpdater.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/systrayUpdater.py b/systrayUpdater.py index 3617969..eeb45c3 100755 --- a/systrayUpdater.py +++ b/systrayUpdater.py @@ -13,15 +13,11 @@ avail = "" # Use config.yml file to allow for compatibility with # most terminal emulators possible & custom icon -#confPath = "~/.config/systrayUpdater/systrayUpdater.yml" -#conf = path.expanduser(confPath) with open(path.expanduser("~/.config/systrayUpdater/systrayUpdater.yml")) as f: conf = yaml.load(f, yaml.FullLoader) term = str(conf['terminal']) opt = str(conf['option']) wait = int(conf['timer']) * 60000 - #icnPath = "~/.config/systrayUpdater/" + str(conf['icon']) - #icn = path.expanduser(icnPath) icn = path.join(path.expanduser("~/.config/systrayUpdater/"), str(conf['icon'])) f.close()