Skip to content

Commit

Permalink
fix cast order
Browse files Browse the repository at this point in the history
  • Loading branch information
mikey0000 committed Oct 24, 2024
1 parent ca6ac6b commit 0c662f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymammotion/http/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async def get_all_error_codes(self) -> list[ErrorInfo]:
reader = csv.DictReader(data.get("data", "").split("\n"), delimiter=",")
codes = []
for row in reader:
codes.append(ErrorInfo(**cast(row, dict)))
codes.append(ErrorInfo(**cast(dict, row)))
return codes

async def oauth_check(self) -> None:
Expand Down

0 comments on commit 0c662f7

Please sign in to comment.