Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HIllya51 committed Jul 8, 2024
1 parent 836c747 commit 0657cfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LunaTranslator/LunaTranslator/network/requests_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def request(
timeout,
)

if allow_redirects and (
while allow_redirects and (
_.status_code == 301 or _.status_code == 302 or _.status_code == 307
):
location = _.headers["Location"]
Expand Down

0 comments on commit 0657cfc

Please sign in to comment.