Skip to content

Commit

Permalink
Fix SyntaxWarning for python 3.8.0
Browse files Browse the repository at this point in the history
Closes #488
  • Loading branch information
lucc committed Nov 29, 2019
1 parent ed40e30 commit 0b71b41
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions multibootusb
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 0b71b41

Please sign in to comment.