Spelling error

This commit is contained in:
Anton Hvornum 2021-04-27 12:27:49 +02:00 committed by GitHub
parent 1be405aa77
commit 847cb3d032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ def select_disk(dict_o_disks):
elif drive.isdigit():
drive = int(drive)
if drive >= len(drives):
raise Dis1ror(f'Selected option "{drive}" is out of range')
raise DiskError(f'Selected option "{drive}" is out of range')
drive = dict_o_disks[drives[drive]]
elif drive in dict_o_disks:
drive = dict_o_disks[drive]