From 95291397f413fe323179132e6b4ec7f61a92896c Mon Sep 17 00:00:00 2001 From: Vincent Zeng Date: Thu, 22 Mar 2018 13:46:41 -0400 Subject: [PATCH] stubbing out feels burying --- ttbp/config/__init__.py | 6 +++--- ttbp/ttbp.py | 15 ++++++++++++++- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/ttbp/config/__init__.py b/ttbp/config/__init__.py index 4f8a8e2..9ab6561 100644 --- a/ttbp/config/__init__.py +++ b/ttbp/config/__init__.py @@ -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!""" } diff --git a/ttbp/ttbp.py b/ttbp/ttbp.py index 4ee5d4f..8a747c0 100644 --- a/ttbp/ttbp.py +++ b/ttbp/ttbp.py @@ -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 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 to go back to managing your feels.\n\n") + return + def show_credits(): ''' prints author acknowledgements and commentary