Skip to content

Commit

Permalink
Merge pull request #877 from oddstr13/pr-sonarcloud-1
Browse files Browse the repository at this point in the history
Fix sonarcloud lint
  • Loading branch information
oddstr13 authored Jun 10, 2024
2 parents cad70a7 + 1910de8 commit ae5caa6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions jellyfin_kodi/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def get_episode_by_season(show_id, season_id):
yield items


def get_item_count(parent_id, item_type=None, params=None):
def get_item_count(parent_id, item_type=None):

url = "Users/{UserId}/Items"

Expand All @@ -138,8 +138,6 @@ def get_item_count(parent_id, item_type=None, params=None):
"Recursive": True,
"Limit": 1,
}
if params:
query_params["params"].update(params)

result = _get(url, query_params)

Expand Down

0 comments on commit ae5caa6

Please sign in to comment.