Skip to content

Commit

Permalink
remove fragment from qr code url
Browse files Browse the repository at this point in the history
  • Loading branch information
bain3 committed Jul 7, 2024
1 parent 9b09833 commit e7bf76e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pronotepy/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ def qrcode_login(cls: Type[T], qr_code: dict, pin: str, uuid: str) -> T:
fixed_url = url._replace(
path="/".join(parts),
query="fd=1&bydlg=A6ABB224-12DD-4E31-AD3E-8A39A1C2C335&login=true",
fragment="",
)

return cls(urlunparse(fixed_url), login, jeton, mode="qr_code", uuid=uuid)
Expand Down

0 comments on commit e7bf76e

Please sign in to comment.