We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a66331e + 54a2c16 commit 5b0b026Copy full SHA for 5b0b026
mftp/ntfy.py
@@ -61,7 +61,7 @@ def format_notices(notices):
61
--------------
62
'''
63
except Exception as e:
64
- logging.error(f" Failed to parse notification body ~ {str(e)}")
+ logging.error(f" Failed to parse notification body ~ {str(e)}", exc_info=True)
65
break
66
67
# NTFY specific features
@@ -205,7 +205,7 @@ def delete_file(file_name):
205
def parse_body(body_data, time):
206
body = ''
207
for br in body_data.find_all('br'):
208
- body = body + br.next_sibling.strip() + '\n'
+ body = body + str(br.next_sibling).strip() + '\n'
209
210
body = body + time
211
0 commit comments