Skip to content

Commit

Permalink
change goodbye message to ASCII font #21
Browse files Browse the repository at this point in the history
  • Loading branch information
blahosyl committed Apr 15, 2024
1 parent 8994b4f commit 4e54c14
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"\nJust select the dishes or drinks you want to make for your guests,"
"\nand the app generates a shopping list for you!\n")


# Based on the Love Sandwiches project

# import entire library
Expand Down Expand Up @@ -116,7 +115,10 @@ def ask_more():
# get global variables
global _dishes
global _planning
goodbye_message = "\n" + Fore.MAGENTA + "Have fun! 🍸 🍽 🍱 🧁" + Fore.RESET
# goodbye_message = "\n" + Fore.MAGENTA + "Have fun! 🍸 🍽 🍱 🧁" + Fore.RESET
goodbye_message = "\n" + Fore.MAGENTA \
+ pyfiglet.figlet_format("Have fun!", font="doom")\
+ Fore.RESET
# check if there are dishes left (note: dishes[0] = '', so this should not be counted)
if len(_dishes.dish_data) > 1:
# ask user if they want to add a dish to the shopping list, make input uppercase
Expand Down

0 comments on commit 4e54c14

Please sign in to comment.