mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Merge pull request #877 from oddstr13/pr-sonarcloud-1
Fix sonarcloud lint
This commit is contained in:
commit
ae5caa6831
1 changed files with 1 additions and 3 deletions
|
@ -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"
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue