Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Commit

Permalink
Fix spelling mistake ('successful' has one l) (#52)
Browse files Browse the repository at this point in the history
The PNG should also be recreated
  • Loading branch information
mikeage authored and ludeeus committed Oct 17, 2019
1 parent 4db29ab commit 5d4e9a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/authenticated/sensor.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
A platform which allows you to get information
about successfull logins to Home Assistant.
about successful logins to Home Assistant.
For more details about this component, please refer to the documentation at
https://github.com/custom-components/authenticated
"""
Expand Down Expand Up @@ -184,14 +184,14 @@ def update(self):
continue
elif new > stored:
updated = True
_LOGGER.info("New successfull login from known IP (%s)", access)
_LOGGER.info("New successful login from known IP (%s)", access)
ipaddress.prev_used_at = ipaddress.last_used_at
ipaddress.last_used_at = tokens[access]["last_used_at"]
except Exception: # pylint: disable=broad-except
pass
else:
updated = True
_LOGGER.warning("New successfull login from unknown IP (%s)", access)
_LOGGER.warning("New successful login from unknown IP (%s)", access)
accessdata = AuthenticatedData(access, tokens[access])
ipaddress = IPData(accessdata, users, self.provider)
ipaddress.lookup()
Expand Down

0 comments on commit 5d4e9a6

Please sign in to comment.