FileGet use return function instead of calling response

This commit is contained in:
shortcutme 2018-09-06 00:56:36 +02:00
parent c7d94548be
commit d3499e71ef
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 1 deletions

View File

@ -691,7 +691,7 @@ class UiWebsocket(object):
if body and format == "base64":
import base64
body = base64.b64encode(body)
return self.response(to, body)
return body
def actionFileNeed(self, to, inner_path, timeout=300):
try: