File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -196,18 +196,18 @@ def main():
196
196
197
197
if gui is False :
198
198
check_admin ()
199
- if uninstall is True and config .usb_disk is not '' :
199
+ if uninstall is True and config .usb_disk != '' :
200
200
cli_uninstall_distro ()
201
- elif uninstall is True and config .usb_disk is '' :
201
+ elif uninstall is True and config .usb_disk == '' :
202
202
log ('\n You must provide \' -t\' option to point to your USB disk for uninstalling a distro.\n '
203
203
'See the usage example below.' )
204
204
usage ()
205
- elif config .image_path is '' and config .usb_disk is '' :
205
+ elif config .image_path == '' and config .usb_disk == '' :
206
206
log ('\n No option provided. See the usage below.' )
207
207
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 != '' :
209
209
cli_install_syslinux ()
210
- elif config .image_path is '' or config .usb_disk is '' :
210
+ elif config .image_path == '' or config .usb_disk == '' :
211
211
log ('\n Options \' -i\' and \' -t\' must be supplied together. See the usage below.' )
212
212
usage ()
213
213
elif config .cli_dd is True :
You can’t perform that action at this time.
0 commit comments