Fix fileGet return when file is not existent
This commit is contained in:
parent
714aea2e27
commit
57f3cee390
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 body
|
self.response(to, 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