Fix a bug

there is no portCheck function
This commit is contained in:
tangdou1 2019-01-21 10:46:06 +08:00 committed by GitHub
parent a7509988af
commit 674b1efa0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1015,7 +1015,7 @@ class UiWebsocket(object):
def actionServerPortcheck(self, to):
sys.modules["main"].file_server.port_opened = None
res = sys.modules["main"].file_server.openport()
res = sys.modules["main"].file_server.start()
self.response(to, res)
def actionServerShutdown(self, to, restart=False):