Sfoglia il codice sorgente

Merge pull request #30 from 2DU/unstable

버그 패치
2DU 9 anni fa
parent
commit
e02270c64b
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      main.py

+ 4 - 1
main.py

@@ -250,7 +250,10 @@ def recent_changes():
         while(True):
             try:                
                 if(rows[i]['send']):
-                    send = rows[i]['send']
+                    if(re.search("^(?: *)$", rows[i]['send'])):
+                        send = '<br>'
+                    else:
+                        send = rows[i]['send']
                 else:
                     send = '<br>'