forked from endorphant/ttbp
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')
|
BURIED_FEELS = os.path.join(PATH, 'buried')
|
||||||
NOPUB = os.path.join(USER_CONFIG, 'nopub')
|
NOPUB = os.path.join(USER_CONFIG, 'nopub')
|
||||||
BACKUPS = os.path.join(PATH, 'backups')
|
BACKUPS = os.path.join(PATH, 'backups')
|
||||||
|
SUBS = os.path.join(USER_CONFIG, 'subs')
|
||||||
|
|
||||||
## UI
|
## UI
|
||||||
|
|
||||||
|
|
|
@ -700,6 +700,10 @@ def subscription_handler(intro=""):
|
||||||
submenu for managing subscriptions
|
submenu for managing subscriptions
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
if not os.path.exists(config.SUBS):
|
||||||
|
subprocess.call(["touch", config.SUBS])
|
||||||
|
subprocess.call(["chmod", "600", config.SUBS])
|
||||||
|
|
||||||
menuOptions = [
|
menuOptions = [
|
||||||
"view subscribed feed",
|
"view subscribed feed",
|
||||||
"manage subscriptions"
|
"manage subscriptions"
|
||||||
|
|
Loading…
Reference in New Issue