2
0
Эх сурвалжийг харах

Merge pull request #1122 from Lwnlcks/patch-1

fix bug
잉여개발기 (SPDV) 5 жил өмнө
parent
commit
a3d55b95cc
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      route/applications.py

+ 2 - 2
route/applications.py

@@ -163,11 +163,11 @@ def applications_2(conn):
             ])
             conn.commit()
         elif flask.request.form.get('decline', '') != '':
-             curs.execute(db_change(
+            curs.execute(db_change(
                 'delete from user_set where id = ? and name = "application"'
             ), [
                 flask.request.form.get('decline', '')
             ])
             conn.commit()
 
-        return redirect('/applications')
+        return redirect('/applications')