Skip to content

Commit

Permalink
extra QR code fixes (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
KTrain5169 authored Sep 12, 2024
1 parent cbb6552 commit 74f7fd6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions versions/terminal_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ def main():
elif choice == '16':
filename = input("Enter the filename for the QR code: ")
result = converter.qr_code(text, filename)
print(result)
mode = 'qr'
elif choice == '17':
result = converter.text_to_emoticons(text)
Expand All @@ -132,7 +131,7 @@ def main():
else:
copy_to_clipboard(result)

if mode:
if mode != 'qr':
save_choice = input("Do you want to save the result to a history file? (y/n): ").lower()
if save_choice == 'y':
save_message = converter.save_result(result, mode)
Expand Down

0 comments on commit 74f7fd6

Please sign in to comment.