Skip to content

Commit

Permalink
Fix typo in log_in function
Browse files Browse the repository at this point in the history
  • Loading branch information
AshtonTX committed Jun 15, 2023
1 parent 9925a55 commit 1100d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pythorhead/lemmy.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def log_in(self, username_or_email, password):
re = requests.post(f"{self._api_base_url}/api/v3/user/login", json=payload)
self._auth_token = re.json()["jwt"]
except Exception as err:
logger.error(f"Something went wrong while logginf in as {username_or_email}: {err}")
logger.error(f"Something went wrong while logging in as {username_or_email}: {err}")
return False
return True

Expand Down

0 comments on commit 1100d5c

Please sign in to comment.