Skip to content

Commit

Permalink
Merge pull request #489 from lucc/master
Browse files Browse the repository at this point in the history
Fix SyntaxWarning for python 3.8.0
  • Loading branch information
mbusb authored Dec 3, 2019
2 parents 9400319 + 0b71b41 commit fa89b28
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions multibootusb
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fa89b28

Please sign in to comment.