Browse Source

fix bug

IndentationError: unindent does not match any outer indentation level 오류
Lwnlcks 5 năm trước cách đây
mục cha
commit
19b2fcbbf3
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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')