prepping subs config

master
endorphant 2018-10-13 15:29:49 -04:00
parent 80d1d93d9d
commit 16d26537aa
2 changed files with 5 additions and 0 deletions

View File

@ -76,6 +76,7 @@ MAIN_FEELS = os.path.join(PATH, 'entries')
BURIED_FEELS = os.path.join(PATH, 'buried')
NOPUB = os.path.join(USER_CONFIG, 'nopub')
BACKUPS = os.path.join(PATH, 'backups')
SUBS = os.path.join(USER_CONFIG, 'subs')
## UI

View File

@ -700,6 +700,10 @@ def subscription_handler(intro=""):
submenu for managing subscriptions
'''
if not os.path.exists(config.SUBS):
subprocess.call(["touch", config.SUBS])
subprocess.call(["chmod", "600", config.SUBS])
menuOptions = [
"view subscribed feed",
"manage subscriptions"