FileGet use return function instead of calling response
This commit is contained in:
parent
c7d94548be
commit
d3499e71ef
1 changed files with 1 additions and 1 deletions
|
@ -691,7 +691,7 @@ class UiWebsocket(object):
|
||||||
if body and format == "base64":
|
if body and format == "base64":
|
||||||
import base64
|
import base64
|
||||||
body = base64.b64encode(body)
|
body = base64.b64encode(body)
|
||||||
return self.response(to, body)
|
return body
|
||||||
|
|
||||||
def actionFileNeed(self, to, inner_path, timeout=300):
|
def actionFileNeed(self, to, inner_path, timeout=300):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue