mirror of
https://github.com/Rudd-O/ansible-qubes.git
synced 2025-06-06 18:08:31 +02:00
Fix bytes/str bug.
This commit is contained in:
parent
b2376275e9
commit
c2f006868c
@ -34,7 +34,7 @@ class LookupModule(LookupBase):
|
||||
try:
|
||||
ret = subprocess.check_output(cmd)
|
||||
if not multiline:
|
||||
ret = ret[:-1]
|
||||
ret = ret[:-1].decode("utf-8")
|
||||
except subprocess.CalledProcessError as e:
|
||||
if e.returncode == 8:
|
||||
if create or default is UNDEFINED:
|
||||
|
Loading…
x
Reference in New Issue
Block a user