Merge pull request #489 from lucc/master

Fix SyntaxWarning for python 3.8.0
master
multibootusb 4 years ago committed by GitHub
commit fa89b28f27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -196,18 +196,18 @@ def main():
if gui is False:
check_admin()
if uninstall is True and config.usb_disk is not '':
if uninstall is True and config.usb_disk != '':
cli_uninstall_distro()
elif uninstall is True and config.usb_disk is '':
elif uninstall is True and config.usb_disk == '':
log('\nYou must provide \'-t\' option to point to your USB disk for uninstalling a distro.\n'
'See the usage example below.')
usage()
elif config.image_path is '' and config.usb_disk is '':
elif config.image_path == '' and config.usb_disk == '':
log('\nNo option provided. See the usage below.')
usage()
elif config.cli_syslinux is True and config.usb_disk is not '':
elif config.cli_syslinux is True and config.usb_disk != '':
cli_install_syslinux()
elif config.image_path is '' or config.usb_disk is '':
elif config.image_path == '' or config.usb_disk == '':
log('\nOptions \'-i\' and \'-t\' must be supplied together. See the usage below.')
usage()
elif config.cli_dd is True:

Loading…
Cancel
Save