Skip to content

Commit

Permalink
Fixing another VUCC error
Browse files Browse the repository at this point in the history
  • Loading branch information
kalendar committed Jul 10, 2024
1 parent 9caf7b4 commit 039e6c1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/parser/account_credits.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@ def account_credits() -> tuple[str, list[Row], str, str]:
else columns[1].text,
)

elif request.args.get("awg_id") == "VUCC":
award_detail = Row(
label=columns[0].text,
value=str(columns[1].find("a"))
.replace(' target="_new"', "")
.replace(' target="+new"', "")
if columns[1].find("a")
else columns[1].text,
)

award_details.append(award_detail)

award: str = request.args.get("awg_id")
Expand Down

0 comments on commit 039e6c1

Please sign in to comment.