mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-23 00:12:45 +00:00
Removed sonarqube issues tagged clumsy
This commit is contained in:
parent
da21f49928
commit
98c86304fe
9 changed files with 42 additions and 65 deletions
|
@ -214,8 +214,8 @@ def set_screensaver(value):
|
|||
|
||||
class JSONRPC(object):
|
||||
|
||||
version = 1
|
||||
jsonrpc = "2.0"
|
||||
id = 1
|
||||
jsonrpc_version = "2.0"
|
||||
|
||||
def __init__(self, method, **kwargs):
|
||||
|
||||
|
@ -227,8 +227,8 @@ class JSONRPC(object):
|
|||
def _query(self):
|
||||
|
||||
query = {
|
||||
'jsonrpc': self.jsonrpc,
|
||||
'id': self.version,
|
||||
'jsonrpc': self.jsonrpc_version,
|
||||
'id': self.id,
|
||||
'method': self.method,
|
||||
}
|
||||
if self.params is not None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue