Surplus_Up (2DU) před 7 roky
rodič
revize
0e4dde8c31
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      route/tool/func.py

+ 1 - 0
route/tool/func.py

@@ -834,6 +834,7 @@ def history_plus(title, data, date, ip, send, leng):
     id_data = curs.fetchall()
 
     get_type = re.search('(\((?:(?:(?!\)).)+)\))$', send)
+    send = re.sub('(\((?:(?:(?!\)).)+)\))$', '', send)
 
     send = re.sub('\(|\)|<|>', '', send)