bugfix
This commit is contained in:
parent
fb9ab5f719
commit
88e53c213c
@ -18,7 +18,7 @@ if userid is None:
|
|||||||
'error': f'sor_get_callerid() error'
|
'error': f'sor_get_callerid() error'
|
||||||
}
|
}
|
||||||
try:
|
try:
|
||||||
d = await uapi.call(upappid, apiname, userid, params=params_kw)
|
b = await uapi.call(upappid, apiname, userid, params=params_kw)
|
||||||
if isinstance(b, bytes):
|
if isinstance(b, bytes):
|
||||||
b = b.decode('utf-8')
|
b = b.decode('utf-8')
|
||||||
d = json.loads(b)
|
d = json.loads(b)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user