fix newlines
This commit is contained in:
parent
15e4280fb8
commit
6c9bdbb372
1 changed files with 4 additions and 4 deletions
|
@ -207,11 +207,11 @@ def main(root, mountpoint):
|
||||||
else:
|
else:
|
||||||
print(line, end='')
|
print(line, end='')
|
||||||
if not foundarchive:
|
if not foundarchive:
|
||||||
with open(os.environ['HOME']+'/.config/user-dirs.dirs\n', 'a') as fh:
|
with open(os.environ['HOME']+'/.config/user-dirs.dirs', 'a') as fh:
|
||||||
fh.write("XDG_ARCHIVE_DIR=\""+root+'"')
|
fh.write("XDG_ARCHIVE_DIR=\""+root+'"\n')
|
||||||
if not foundwork:
|
if not foundwork:
|
||||||
with open(os.environ['HOME']+'/.config/user-dirs.dirs\n', 'a') as fh:
|
with open(os.environ['HOME']+'/.config/user-dirs.dirs', 'a') as fh:
|
||||||
fh.write("XDG_WORK_DIR=\""+mountpoint+'"')
|
fh.write("XDG_WORK_DIR=\""+mountpoint+'"\n')
|
||||||
|
|
||||||
FUSE(Passthrough(root), mountpoint, nothreads=True, foreground=True)
|
FUSE(Passthrough(root), mountpoint, nothreads=True, foreground=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue