Skip to content

Commit

Permalink
removed unecessary param
Browse files Browse the repository at this point in the history
  • Loading branch information
chkpwd committed Oct 25, 2024
1 parent 646e9c1 commit 06ac5c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/plex.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
plex = PlexServer(baseurl=var.plex_url, token=var.plex_token)


def create_plex_collection(sonarr_episodes: list[int], fillers: list[int] = []):
def create_plex_collection(fillers: list[int] = []):
nonfillers_items: list[Episode] = []
fillers_items: list[Episode] = []

Expand Down
4 changes: 1 addition & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@
sonarr_episodes_id = get_sonarr_episodes(int(var.sonarr_series_id))

if var.create_plex_collection is True:
create_plex_collection(
sonarr_episodes=sonarr_episodes_id, fillers=fillers_from_api
)
create_plex_collection(fillers=fillers_from_api)

for episode in sonarr_episodes_id:
if episode["episode_number"] not in fillers_from_api:
Expand Down

0 comments on commit 06ac5c3

Please sign in to comment.