Kaynağa Gözat

버그 수정

2DU 8 yıl önce
ebeveyn
işleme
3c0bf264c6
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      mark.py

+ 2 - 2
mark.py

@@ -699,11 +699,11 @@ def namumark(title, data, num, in_c):
                     src = ''
                     
             if(result[1]):
-                mdata = re.search('width=([0-9]*)', result[1])
+                mdata = re.search('width=([0-9%]*)', result[1])
                 if(mdata):
                     width = mdata.groups()[0]
                 
-                mdata = re.search('height=([0-9]*)', result[1])
+                mdata = re.search('height=([0-9%]*)', result[1])
                 if(mdata):
                     height = mdata.groups()[0]