prepping subs config
parent
80d1d93d9d
commit
16d26537aa
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue