Skip to content

Commit

Permalink
- Cast refresh interval to int properly
Browse files Browse the repository at this point in the history
  • Loading branch information
nwithan8 committed Sep 6, 2022
1 parent ee31cc5 commit a97e899
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/config_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@ def has_plex_pass(self) -> bool:

@property
def refresh_interval(self) -> int:
return self._customization._get_value(key='RefreshSeconds', default=15,
env_name_override="TC_REFRESH_SECONDS")
value = self._customization._get_value(key='RefreshSeconds', default=15,
env_name_override="TC_REFRESH_SECONDS")
return int(value)

@property
def terminate_message(self) -> str:
Expand Down

0 comments on commit a97e899

Please sign in to comment.