File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,7 @@ def setup(self):
5252 flash ("Form validation failed. Please try again." , "danger" )
5353 step = 2
5454
55- return redirect (url_for ("main.setup" ), step = step )
56- # lgtm [py/call/wrong-named-argument]
55+ return redirect (url_for ("main.setup" , step = step ))
5756
5857
5958class WebsiteForm (FlaskForm ):
@@ -93,5 +92,4 @@ def setup(self):
9392 else :
9493 flash ("Error: Couldn't save form data." , "danger" )
9594
96- return redirect (url_for ("main.setup" ), step = 3 )
97- # lgtm [py/call/wrong-named-argument]
95+ return redirect (url_for ("main.setup" , step = 3 ))
Original file line number Diff line number Diff line change @@ -1119,8 +1119,8 @@ def populate_machines():
11191119
11201120with app .app_context ():
11211121
1122- # populate_users()
1122+ populate_users ()
11231123
11241124 populate_challs ()
11251125
1126- # populate_machines()
1126+ populate_machines ()
You can’t perform that action at this time.
0 commit comments