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):
|
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:
|
||||||
|
|
Loading…
Reference in a new issue