ix not/wrong creating ~/.config/user-dirs.dirs
This commit is contained in:
parent
76029d6389
commit
45704027cb
1 changed files with 4 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue