stubbing out feels burying

master
Vincent Zeng 2018-03-22 13:46:41 -04:00
parent 5946989406
commit 95291397f4
2 changed files with 17 additions and 4 deletions

View File

@ -85,7 +85,7 @@ ___________________________________________________________
| ____ ____ ____ _ ____ ____ _ _ ____ _ _ _ ____ |
| |___ |___ |___ | [__ |___ |\ | | __ | |\ | |___ |
| | |___ |___ |___ ___] |___ | \| |__] | | \| |___ |
| ver 0.12.2b (bury your feels) |
| ver 0.12.3b (delete your account) |
|__________________________________________________________|
~ u n s t a b l e e x p e r i m e n t a l b r a n c h ~
'''.lstrip()
@ -190,7 +190,7 @@ version 0.9.3 features:
* added a new option to allow setting entries to default to either public or
non-public on posting; this option only really makes sense if you're
already publishing to html/gopher, but is available either way!
you can find this option under 'settings' as 'post as nopub'.""",
"0.11.3": """
~[version 0.11.3 update]~
@ -198,7 +198,7 @@ version 0.9.3 features:
* thanks to ~sinacutie, you can now set custom css for the permalink text
styling on your html page. the default permalink style has been added to
your current css file, and shouldn't change the appearance of your page.
if you're not using custom css, don't worry about this!"""
}

View File

@ -650,7 +650,11 @@ def review_menu(intro=""):
redraw("loading feels backup")
load_backup()
elif choice == 4:
top = DUST
if hasfeels:
redraw("burying feels")
bury_feels()
else:
top = nofeels
elif choice == 5:
if hasfeels:
redraw("deleting feels")
@ -1063,6 +1067,15 @@ you can check out the leftover feels yourself at:
input("\n\npress <enter> to go back to managing your feels.\n\n")
return
def bury_feels():
"""queries for a feel to bury, then calls the feels burying handler.
"""
print(DUST)
input("\n\npress <enter> to go back to managing your feels.\n\n")
return
def show_credits():
'''
prints author acknowledgements and commentary