2DU преди 8 години
родител
ревизия
3317fbbca6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      mark.py

+ 1 - 1
mark.py

@@ -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] + ';'