Explorar o código

버그 패치

2DU %!s(int64=9) %!d(string=hai) anos
pai
achega
cbef6a46da
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>'