Skip to content

Commit

Permalink
Syntax!
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinHeist committed Jan 13, 2023
1 parent 817553e commit 52aebcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/PlexInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def __get_library(self, library_name: str) -> 'Library':


@retry(stop=stop_after_attempt(5),
wait=wait_fixed(3)+wait_exponential(min=1, max=32)
wait=wait_fixed(3)+wait_exponential(min=1, max=32),
reraise=True)
def __get_series(self, library: 'Library',
series_info: SeriesInfo) -> 'Show':
Expand Down Expand Up @@ -628,7 +628,7 @@ def get_source_image(self, library_name: str, series_info: 'SeriesInfo',

@retry(stop=stop_after_attempt(5),
wait=wait_fixed(3)+wait_exponential(min=1, max=32),
before_sleep=lambda _: log.warning('Cannot upload image, retrying..')
before_sleep=lambda _:log.warning('Cannot upload image, retrying..'),
reraise=True)
def __retry_upload(self, plex_object: 'Episode', filepath: Path) -> None:
"""
Expand Down

0 comments on commit 52aebcc

Please sign in to comment.