minot cleanup

master
Vincent Zeng 2018-01-02 22:12:15 -05:00
parent 3a29daef28
commit 554550b9eb
1 changed files with 1 additions and 4 deletions

View File

@ -613,7 +613,7 @@ def review_menu(intro=""):
redraw("your recorded feels, listed by date:") redraw("your recorded feels, listed by date:")
view_feels(config.USER) view_feels(config.USER)
elif choice == 1: elif choice == 1:
redraw("here's your current nopub status:") redraw("publishing status of your feels:")
list_nopubs(config.USER) list_nopubs(config.USER)
else: else:
redraw() redraw()
@ -813,7 +813,6 @@ def list_nopubs(user):
metas, owner = generate_feels_list(user) metas, owner = generate_feels_list(user)
if len(metas) > 0: if len(metas) > 0:
return set_nopubs(metas, user, "publishing status of your feels:") return set_nopubs(metas, user, "publishing status of your feels:")
else: else:
redraw("no feels recorded by ~"+user) redraw("no feels recorded by ~"+user)
@ -835,10 +834,8 @@ def set_nopubs(metas, user, prompt):
target = os.path.basename(metas[choice][0]) target = os.path.basename(metas[choice][0])
action = core.toggle_nopub(target) action = core.toggle_nopub(target)
redraw(prompt) redraw(prompt)
#print("{action} {entry}".format(action=action, entry=target))
return set_nopubs(metas, user, prompt) return set_nopubs(metas, user, prompt)
#return list_nopubs(user)
else: else:
redraw() redraw()