Explorar o código

Merge pull request #30 from 2DU/unstable

버그 패치
2DU %!s(int64=9) %!d(string=hai) anos
pai
achega
e02270c64b
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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>'