File transfer example
This commit is contained in:
parent
c338694a9d
commit
8655d81078
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user