X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=db067d4d8964671a33379dfc2bf99a6c8bdd102e;hp=74349018ce4d7d51f1223fb64968e6f8dea39308;hb=25c3bf7f43e285c2a6ab997a44efd8d21a514207;hpb=2112d160c764597e8464c60d8d6ebabd3880c42b diff --git a/grml2usb b/grml2usb index 7434901..db067d4 100755 --- a/grml2usb +++ b/grml2usb @@ -1688,7 +1688,7 @@ def handle_mbr(device): mbrcode = mbrpath break - if mbrcode is "": + if not mbrcode: str_locations = " or ".join(['"%s"' % l for l in mbr_locations]) logging.error('Cannot find syslinux MBR, install it at %s)', str_locations)