Quellcode durchsuchen

간단한 수정

Surplus_Up (2DU) vor 7 Jahren
Ursprung
Commit
27a7c8fb71
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -2365,7 +2365,7 @@ def topic(name = None, sub = None):
         curs.execute("insert into topic (id, title, sub, data, date, ip, block, top) values (?, ?, ?, ?, ?, ?, '', '')", [str(num), name, sub, data, today, ip])
         conn.commit()
         
-        return redirect('/topic/' + url_pas(name) + '/sub/' + url_pas(sub))
+        return redirect('/topic/' + url_pas(name) + '/sub/' + url_pas(sub) + '#reload')
     else:
         curs.execute("select title from stop where title = ? and sub = ? and close = 'O'", [name, sub])
         close_data = curs.fetchall()