File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ('\n You 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 ('\n No 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 ('\n Options \' -i\' and \' -t\' must be supplied together. See the usage below.' )
212212 usage ()
213213 elif config .cli_dd is True :
You can’t perform that action at this time.
0 commit comments