Skip to content

Commit fa89b28

Browse files
authored
Merge pull request #489 from lucc/master
Fix SyntaxWarning for python 3.8.0
2 parents 9400319 + 0b71b41 commit fa89b28

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

multibootusb

+5-5
Original file line numberDiff line numberDiff line change
@@ -196,18 +196,18 @@ def main():
196196

197197
if gui is False:
198198
check_admin()
199-
if uninstall is True and config.usb_disk is not '':
199+
if uninstall is True and config.usb_disk != '':
200200
cli_uninstall_distro()
201-
elif uninstall is True and config.usb_disk is '':
201+
elif uninstall is True and config.usb_disk == '':
202202
log('\nYou must provide \'-t\' option to point to your USB disk for uninstalling a distro.\n'
203203
'See the usage example below.')
204204
usage()
205-
elif config.image_path is '' and config.usb_disk is '':
205+
elif config.image_path == '' and config.usb_disk == '':
206206
log('\nNo option provided. See the usage below.')
207207
usage()
208-
elif config.cli_syslinux is True and config.usb_disk is not '':
208+
elif config.cli_syslinux is True and config.usb_disk != '':
209209
cli_install_syslinux()
210-
elif config.image_path is '' or config.usb_disk is '':
210+
elif config.image_path == '' or config.usb_disk == '':
211211
log('\nOptions \'-i\' and \'-t\' must be supplied together. See the usage below.')
212212
usage()
213213
elif config.cli_dd is True:

0 commit comments

Comments
 (0)