pep8 fixes
This commit is contained in:
parent
8d7813a408
commit
95b799c6ce
|
@ -548,8 +548,10 @@ class Premailer(object):
|
|||
attributes['align'] = value.strip()
|
||||
elif key == 'vertical-align':
|
||||
attributes['valign'] = value.strip()
|
||||
elif ((key == 'background-color')
|
||||
and ('transparent' not in value.lower())):
|
||||
elif (
|
||||
key == 'background-color' and
|
||||
'transparent' not in value.lower()
|
||||
):
|
||||
# Only add the 'bgcolor' attribute if the value does not
|
||||
# contain the word "transparent"; before we add it possibly
|
||||
# correct the 3-digit color code to its 6-digit equivalent
|
||||
|
|
Loading…
Reference in New Issue