forked from shaba/openuds
Fixed Guacamole dict
This commit is contained in:
parent
574b19a905
commit
46aa9139a0
@ -50,8 +50,8 @@ CONTENT_TYPE = 'text/plain'
|
|||||||
# We will use the cache to "hold" the tickets valid for users
|
# We will use the cache to "hold" the tickets valid for users
|
||||||
|
|
||||||
|
|
||||||
def dict2resp(dct):
|
def dict2resp(dct: typing.Mapping[typing.Any, typing.Any]) -> str:
|
||||||
return '\r'.join((k + '\t' + v for k, v in dct.items()))
|
return '\r'.join((str(k) + '\t' + str(v) for k, v in dct.items()))
|
||||||
|
|
||||||
|
|
||||||
def guacamole(request: ExtendedHttpRequestWithUser, token: str, tunnelId: str) -> HttpResponse:
|
def guacamole(request: ExtendedHttpRequestWithUser, token: str, tunnelId: str) -> HttpResponse:
|
||||||
|
Loading…
Reference in New Issue
Block a user