mirror of
https://github.com/markqvist/LXMF-Tools.git
synced 2025-07-23 23:20:33 -04:00
Improved isocalendar() function compatibility.
This commit is contained in:
parent
9c08b31603
commit
7f167666ed
19 changed files with 76 additions and 14 deletions
|
@ -99,6 +99,7 @@ The full documentation is not yet available. Due to lack of time I can also not
|
|||
Restart=always
|
||||
RestartSec=3
|
||||
User=root
|
||||
Group=root
|
||||
ExecStart=/root/lxmf_echo.py
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -634,7 +634,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