mail debugging
authorAndrew Lorimer <andrew@charles.cortex>
Sun, 26 Aug 2018 11:16:55 +0000 (21:16 +1000)
committerAndrew Lorimer <andrew@charles.cortex>
Sun, 26 Aug 2018 11:16:55 +0000 (21:16 +1000)
logparse.py
index 4035e0c6b7c1eb743198719ed9b48a65f7ff78b3..c40b29f024391f76c80bdb738701857122dfd031 100755 (executable)
@@ -268,6 +268,7 @@ def truncl(input, limit):      # truncate list
 def mailprep(inputpath, output, *stylesheet):
     logger.debug("converting stylesheet to inline tags")
     old = readlog(inputpath)
+    logger.debug(config['css'])
     pm = premailer.Premailer(old, external_styles=config['css'])
     MAILOUT = pm.transform()
     logger.info("converted stylesheet to inline tags")