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):
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: