heartbeat fix

This commit is contained in:
Maxim Khomutov 2023-07-18 19:53:02 +03:00
parent 85b85114b5
commit cfeb2e9823

View File

@ -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