move debug output to a more useful location
This commit is contained in:
parent
8b1c630d83
commit
6ae5312aa3
1 changed files with 4 additions and 4 deletions
|
@ -51,10 +51,6 @@ def parse(data, pnut, mstdn):
|
||||||
logger.error("can't get the message, bailing out")
|
logger.error("can't get the message, bailing out")
|
||||||
return
|
return
|
||||||
|
|
||||||
logger.debug(data['Subject'])
|
|
||||||
logger.debug(body)
|
|
||||||
logger.debug(len(attachments))
|
|
||||||
|
|
||||||
parsebody = body.split('\n')
|
parsebody = body.split('\n')
|
||||||
for line in parsebody:
|
for line in parsebody:
|
||||||
if line == "-- ":
|
if line == "-- ":
|
||||||
|
@ -69,6 +65,10 @@ def parse(data, pnut, mstdn):
|
||||||
logger.debug(f"Chat-Version: {deltac}")
|
logger.debug(f"Chat-Version: {deltac}")
|
||||||
subject = ""
|
subject = ""
|
||||||
|
|
||||||
|
logger.debug(data['Subject'])
|
||||||
|
logger.debug(body)
|
||||||
|
logger.debug(len(attachments))
|
||||||
|
|
||||||
if pnut:
|
if pnut:
|
||||||
post_pnut(subject, body, attachments)
|
post_pnut(subject, body, attachments)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue