mirror of
https://github.com/kuitoi/kuitoi-Server.git
synced 2026-06-18 22:51:03 +00:00
heartbeat fix
This commit is contained in:
+3
-4
@@ -188,13 +188,12 @@ class Core:
|
|||||||
self.direct = True
|
self.direct = True
|
||||||
else:
|
else:
|
||||||
self.direct = True
|
self.direct = True
|
||||||
if test:
|
|
||||||
self.log.error("Cannot auth...")
|
|
||||||
if not config.Auth['private']:
|
|
||||||
raise KeyboardInterrupt
|
|
||||||
if test:
|
if test:
|
||||||
# TODO: i18n
|
# TODO: i18n
|
||||||
|
self.log.error("Cannot authenticate server.")
|
||||||
self.log.info(f"Server still runnig, but only in Direct connect mode.")
|
self.log.info(f"Server still runnig, but only in Direct connect mode.")
|
||||||
|
# if not config.Auth['private']:
|
||||||
|
# raise KeyboardInterrupt
|
||||||
|
|
||||||
if test:
|
if test:
|
||||||
return ok
|
return ok
|
||||||
|
|||||||
Reference in New Issue
Block a user