|
|
@@ -137,7 +137,7 @@ def table_p(d, d2):
|
|
|
table_bgcolor_1 = re.search("<table\s?bgcolor=(#[0-9a-f-A-F]{6})>", d)
|
|
|
table_bgcolor_2 = re.search("<table\s?bgcolor=(#[0-9a-f-A-F]{3})>", d)
|
|
|
table_bgcolor_3 = re.search("<table\s?bgcolor=(\w+)>", d)
|
|
|
- if(table_bgcolor_1)
|
|
|
+ if(table_bgcolor_1):
|
|
|
alltable += 'background: ' + table_bgcolor_1.groups()[0] + ';'
|
|
|
elif(table_bgcolor_2):
|
|
|
alltable += 'background: ' + table_bgcolor_2.groups()[0] + ';'
|