Skip to content

Commit 4ff7ae3

Browse files
committed
q-dev: add encoding type
1 parent 2b6dfb8 commit 4ff7ae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qubes/ext/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ async def confirm_device_attachment(device, frontends) -> str:
152152
stdout=asyncio.subprocess.PIPE
153153
)
154154
(target_name, _) = await proc.communicate()
155-
target_name = target_name.decode()
155+
target_name = target_name.decode(encoding='ascii')
156156
if target_name in front_names:
157157
return target_name
158158
return ""

0 commit comments

Comments
 (0)