commit 248f3a07ef1532ccd0e183fbbdd7f07b2e21a4f3
parent 1613165133d6995d2566a2230c0e3f2d652a4bae
Author: GeaRSiX <gearsix@tuta.io>
Date: Tue, 10 Aug 2021 11:01:19 +0100
Merge branch 'develop' of https://notabug.org/GeaRSiX/dotfm into develop
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dotfm.py b/src/dotfm.py
@@ -156,6 +156,7 @@ def init_createcsv(default_location):
elif on[0] == 'u':
debug('using pre-existing csv {}'.format(location))
sys.exit()
+
os.makedirs(os.path.dirname(location))
# create default_location symlink
if os.path.abspath(location) != os.path.abspath(default_location):
@@ -165,7 +166,6 @@ def init_createcsv(default_location):
else:
f = open(location, "w")
f.close()
-
def init_loadcsv(location):
dotfm_csv = open(location, "r")