File transfer example

This commit is contained in:
Mark Qvist 2018-04-26 16:27:42 +02:00
parent c338694a9d
commit 8655d81078

View File

@ -321,13 +321,14 @@ def print_menu():
print("\rProgress: 100.0 %"), print("\rProgress: 100.0 %"),
sys.stdout.flush() sys.stdout.flush()
print("") print("")
print("The download completed!") print("The download completed! Pres enter to return to the menu.")
raw_input()
else: else:
print("") print("")
print("The download failed!") print("The download failed! Pres enter to return to the menu.")
raw_input()
time.sleep(1)
current_download = None current_download = None
menu_mode = "main" menu_mode = "main"
print_menu() print_menu()