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