Skip to content

Commit

Permalink
Merge pull request #2 from AshtonTX/typo-fix
Browse files Browse the repository at this point in the history
Fix typo in log_in function
  • Loading branch information
db0 authored Jun 15, 2023
2 parents 9925a55 + 1100d5c commit 9e0d915
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 9e0d915

Please sign in to comment.