ix not/wrong creating ~/.config/user-dirs.dirs

This commit is contained in:
Jakobus Schürz 2020-02-28 10:18:31 +01:00
parent 76029d6389
commit 45704027cb

View file

@ -58,8 +58,10 @@ class WorkdirFS(Operations):
def _xdg(self): def _xdg(self):
foundarchive=False foundarchive=False
foundwork=False foundwork=False
xdgdir = os.environ['HOME']+'/.config' xdgdir = os.path.join(os.environ['HOME'], '.config')
xdguserdirs = os.path.join(xdgdir, '/user-dirs.dirs') xdguserdirs = os.path.join(xdgdir, 'user-dirs.dirs')
print(xdgdir)
print(xdguserdirs)
if not os.path.exists(xdgdir): if not os.path.exists(xdgdir):
os.mkdir(xdgdir) os.mkdir(xdgdir)
try: try: