--- isrcsubmit.py.orig	2024-11-18 12:17:20.000000000 +0100
+++ isrcsubmit.py	2024-11-18 12:17:59.000000000 +0100
@@ -439,13 +439,13 @@
     """
     proc = Popen(["drutil", "status", "-drive", option_device], stdout=PIPE)
     try:
-        given = proc.communicate()[0].splitlines()[3].split("Name:")[1].strip()
+        given = proc.communicate()[0].splitlines()[3].split(b"Name:")[1].strip()
     except IndexError:
         print_error("could not find real device",
                      "maybe there is no disc in the drive?")
         sys.exit(-1)
     # libdiscid needs the "raw" version
-    return given.replace("/disk", "/rdisk")
+    return given.replace(b"/disk", b"/rdisk").decode()
 
 def cp65001(name):
     """This might be buggy, but better than just a LookupError
