Skip to content

Commit

Permalink
Fix time error
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdelorenzo committed Sep 22, 2021
1 parent abf9c6a commit 00e1d94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cast_control/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
__license__: Final[str] = 'AGPL-3.0'
__copyright__: Final[str] = \
f'Copyright 2021 {__author__}. Licensed under terms of the {__license__}.'
__version__: Final[str] = '0.11.4'
__version__: Final[str] = '0.11.4.post1'

NAME: Final[str] = 'cast_control'
SHORT_NAME: Final[str] = 'castctl'
Expand Down
4 changes: 3 additions & 1 deletion cast_control/device/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,10 @@ def get_subtitle(self) -> Optional[str]:


class TimeMixin(Wrapper):
_longest_duration: float = NO_DURATION

def __init__(self):
self._longest_duration: float = NO_DURATION
self._longest_duration = NO_DURATION
super().__init__()

@property
Expand Down

0 comments on commit 00e1d94

Please sign in to comment.