mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-11-25 17:36:23 -05:00
Improved announce processing
This commit is contained in:
parent
e56e80aade
commit
5392d635dd
2 changed files with 48 additions and 45 deletions
|
|
@ -143,7 +143,9 @@ def log(msg, level=3, _override_destination = False, pt=False):
|
|||
with logging_lock:
|
||||
if (logdest == LOG_STDOUT or _always_override_destination or _override_destination):
|
||||
if not threading.main_thread().is_alive(): return
|
||||
else: print(logstring)
|
||||
else:
|
||||
try: print(logstring)
|
||||
except: pass
|
||||
|
||||
elif (logdest == LOG_FILE and logfile != None):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue