Skip to content

Commit

Permalink
fix empty calendar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
engrbm87 committed Jun 15, 2020
1 parent 287d0a0 commit 9318502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/trakt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ async def async_update(self, *_):

try:
self.calendar = await self.hass.async_add_executor_job(
MyShowCalendar, {CONF_DAYS: self.days}
MyShowCalendar, None, self.days
)
except trakt.errors.TraktInternalException:
_LOGGER.error("Trakt api encountered an internal error.")
Expand Down

0 comments on commit 9318502

Please sign in to comment.