Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
codyc1515 committed Jan 19, 2024
1 parent 4306b20 commit bfff6f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/managemyhealth/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async def get_appointments(self) -> any:

if appointments:
_LOGGER.debug('Fetched current appointments')

# Loop through the appointment(s)
for appointment in appointments:
# Skip cancelled or rejected
Expand Down Expand Up @@ -162,7 +162,7 @@ async def get_appointments_past(self) -> any:

if appointments:
_LOGGER.debug('Fetched past appointments')

# Loop through the appointment(s)
for appointment in appointments:
# If there was no appointment time, skip it
Expand All @@ -171,7 +171,7 @@ async def get_appointments_past(self) -> any:
break

_LOGGER.debug('Found past appointment')

# Get the appointment time
start = datetime.strptime(appointment.get("AppFromTimeSlot") + "+1300", "%Y-%m-%dT%H:%M:%S%z")

Expand Down

0 comments on commit bfff6f9

Please sign in to comment.