X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=5ac0f5c84180808a787e26348e94e7ab52c858cb;hp=9321b985b3ac065d549c944b101e146a345a3f0c;hb=018de7b47ac1eaca9bf39e87f53836fbe4662ae3;hpb=3b84e5630977bbe91df0b3ecbaa113f1d77b4136 diff --git a/grml2usb b/grml2usb index 9321b98..5ac0f5c 100755 --- a/grml2usb +++ b/grml2usb @@ -352,6 +352,7 @@ def check_boot_flag(device): boot_dev, x = get_device_from_partition(device) try: + import parted part = get_partition_for_path(device) if part.getFlag(parted.PARTITION_BOOT): logging.debug("bootflag is enabled on %s" % device)