From 63cc1875572e0e085f6e26b49e251bbc9258227e Mon Sep 17 00:00:00 2001 From: vilmibm Date: Wed, 22 Nov 2017 05:12:49 +0000 Subject: [PATCH] leave behind editable global files --- ttbp/core.py | 1 + ttbp/ttbp.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ttbp/core.py b/ttbp/core.py index 31f164d..dc72eee 100644 --- a/ttbp/core.py +++ b/ttbp/core.py @@ -259,6 +259,7 @@ def write_global_feed(blogList): """) outfile.close() + subprocess.call(['chmod', 'a+w', FEED]) ## misc helpers diff --git a/ttbp/ttbp.py b/ttbp/ttbp.py index 271b355..b7950e8 100644 --- a/ttbp/ttbp.py +++ b/ttbp/ttbp.py @@ -269,6 +269,8 @@ press to begin, or to get out of here. users.write(config.USER+"\n") users.close() + subprocess.call(['chmod', 'a+w', config.USERFILE]) + ## make .ttbp directory structure subprocess.call(["mkdir", config.PATH]) subprocess.call(["mkdir", config.USER_CONFIG])