mirror of
https://github.com/markqvist/LXMF-Tools.git
synced 2025-08-03 12:16:20 -04:00
Improved isocalendar() function compatibility.
This commit is contained in:
parent
9c08b31603
commit
7f167666ed
19 changed files with 76 additions and 14 deletions
|
@ -812,7 +812,12 @@ class lxmf_announce_callback:
|
|||
if len(app_data) == 0:
|
||||
return
|
||||
|
||||
log("LXMF - Received an announce from " + RNS.prettyhexrep(destination_hash) + ": " + app_data.decode("utf-8"), LOG_INFO)
|
||||
try:
|
||||
app_data = app_data.decode("utf-8").strip()
|
||||
except:
|
||||
return
|
||||
|
||||
log("LXMF - Received an announce from " + RNS.prettyhexrep(destination_hash) + ": " + app_data, LOG_INFO)
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue