소스 검색

버그 수정

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