mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-29 12:26:12 +00:00
Fix linting, flake8 and sonarcloud issues
This commit is contained in:
parent
87af711c94
commit
3f63e7c213
27 changed files with 162 additions and 169 deletions
|
@ -3,16 +3,16 @@ from __future__ import division, absolute_import, print_function, unicode_litera
|
|||
|
||||
#################################################################################################
|
||||
|
||||
import json
|
||||
import time
|
||||
|
||||
import requests
|
||||
from six import string_types
|
||||
|
||||
from .exceptions import HTTPException
|
||||
from helper.utils import JsonDebugPrinter
|
||||
from helper import LazyLogger
|
||||
|
||||
from .exceptions import HTTPException
|
||||
|
||||
#################################################################################################
|
||||
|
||||
LOG = LazyLogger(__name__)
|
||||
|
@ -154,9 +154,6 @@ class HTTP(object):
|
|||
LOG.error("Request missing Schema. " + str(error))
|
||||
raise HTTPException("MissingSchema", {'Id': self.config.data.get('auth.server', "None")})
|
||||
|
||||
except Exception as error:
|
||||
raise
|
||||
|
||||
else:
|
||||
try:
|
||||
self.config.data['server-time'] = r.headers['Date']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue