Merge pull request #312 from shinji-s/devel

Allow target drive specification using lower case letter.
pull/313/merge
multibootusb 6 years ago committed by GitHub
commit 156cc0ca6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -159,7 +159,9 @@ if __name__ == '__main__':
else:
config.image_path = arg.split(',')
elif opt in ('-t', '--target'):
config.usb_disk = arg
# Convert to upper if windows drive name is given
config.usb_disk = len(arg)==2 and arg[0].isalpha() and arg[1]==':'\
and arg.upper() or arg
elif opt in ('-c', '--command'):
gui = False
elif opt in ('-u', '--uninstall'):

Loading…
Cancel
Save