Explorar o código

fix bug

IndentationError: unindent does not match any outer indentation level 오류
Lwnlcks %!s(int64=5) %!d(string=hai) anos
pai
achega
19b2fcbbf3
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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')