stubbing out feels burying

このコミットが含まれているのは:
Vincent Zeng 2018-03-22 13:46:41 -04:00
コミット 95291397f4
2個のファイルの変更17行の追加4行の削除

ファイルの表示

@ -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 ~ ~ 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() '''.lstrip()
@ -190,7 +190,7 @@ version 0.9.3 features:
* added a new option to allow setting entries to default to either public or * 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 non-public on posting; this option only really makes sense if you're
already publishing to html/gopher, but is available either way! already publishing to html/gopher, but is available either way!
you can find this option under 'settings' as 'post as nopub'.""", you can find this option under 'settings' as 'post as nopub'.""",
"0.11.3": """ "0.11.3": """
~[version 0.11.3 update]~ ~[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 * 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 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. 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!""" if you're not using custom css, don't worry about this!"""
} }

ファイルの表示

@ -650,7 +650,11 @@ def review_menu(intro=""):
redraw("loading feels backup") redraw("loading feels backup")
load_backup() load_backup()
elif choice == 4: elif choice == 4:
top = DUST if hasfeels:
redraw("burying feels")
bury_feels()
else:
top = nofeels
elif choice == 5: elif choice == 5:
if hasfeels: if hasfeels:
redraw("deleting feels") 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") input("\n\npress <enter> to go back to managing your feels.\n\n")
return 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(): def show_credits():
''' '''
prints author acknowledgements and commentary prints author acknowledgements and commentary