always return int for the disk selection

This commit is contained in:
Andreas Zweili 2021-12-19 18:47:51 +01:00
parent 0a7d19e719
commit faec2e08be
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ def create_menu(disks):
def get_disk_to_format():
disk_to_format = input("Which disk dou you want to format?: ")
return disk_to_format
return int(disk_to_format)
def format_disk(disk_to_format):