Andrew's git
/
logparse.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
mail debugging
author
Andrew Lorimer
<andrew@charles.cortex>
Sun, 26 Aug 2018 11:16:55 +0000
(21:16 +1000)
committer
Andrew Lorimer
<andrew@charles.cortex>
Sun, 26 Aug 2018 11:16:55 +0000
(21:16 +1000)
logparse.py
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (from parent 1:
f96a0f2
)
diff --git
a/logparse.py
b/logparse.py
index 4035e0c6b7c1eb743198719ed9b48a65f7ff78b3..c40b29f024391f76c80bdb738701857122dfd031 100755
(executable)
--- a/
logparse.py
+++ b/
logparse.py
@@
-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)
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")
pm = premailer.Premailer(old, external_styles=config['css'])
MAILOUT = pm.transform()
logger.info("converted stylesheet to inline tags")