From 45704027cb2c178f42c2405cb696352adfcbcbdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Fri, 28 Feb 2020 10:18:31 +0100 Subject: [PATCH] ix not/wrong creating ~/.config/user-dirs.dirs --- workdirfs.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/workdirfs.py b/workdirfs.py index 9eebf9f..307c30c 100755 --- a/workdirfs.py +++ b/workdirfs.py @@ -58,8 +58,10 @@ class WorkdirFS(Operations): def _xdg(self): foundarchive=False foundwork=False - xdgdir = os.environ['HOME']+'/.config' - xdguserdirs = os.path.join(xdgdir, '/user-dirs.dirs') + xdgdir = os.path.join(os.environ['HOME'], '.config') + xdguserdirs = os.path.join(xdgdir, 'user-dirs.dirs') + print(xdgdir) + print(xdguserdirs) if not os.path.exists(xdgdir): os.mkdir(xdgdir) try: