Skip to content

Commit

Permalink
Fixed Value Error on select box use.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivy Bowman committed Aug 30, 2022
1 parent db18ef3 commit c05c699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autobooks/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def craft_booklist(loans_page):
def query_login_form(form_list, select):
x = 0
if len(form_list) != 1:
for form, index in form_list:
for index, form in enumerate(form_list):
if select in form['displayName']:
x = form_list.index(form)
x = index
return form_list[x]

0 comments on commit c05c699

Please sign in to comment.