X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=eaeba087ac20f1b6ef911ae3a8650385c099108b;hp=358597695114999ca29c95b729f71c22a0b70505;hb=5b2ffe433479368d711a63d985b926966940cad5;hpb=24bebddedf8f76f0f9e9db46a04a13df84d1ba0d diff --git a/grml2usb b/grml2usb index 3585976..eaeba08 100755 --- a/grml2usb +++ b/grml2usb @@ -790,7 +790,7 @@ def check_for_fat(partition): try: udev_info = subprocess.Popen(["/sbin/blkid", "-s", "TYPE", "-o", "value", partition], - stdout=subprocess.PIPE, stderr=subprocess.PIPE) + stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True) filesystem = udev_info.communicate()[0].rstrip() if filesystem != "vfat":