Explorar el Código

버그 패치

2DU hace 9 años
padre
commit
cbef6a46da
Se han modificado 1 ficheros con 4 adiciones y 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>'