mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-22 16:10:31 +00:00
Tool black: auto-format Python code
This commit is contained in:
parent
e4d8084c25
commit
7763762212
54 changed files with 6545 additions and 4723 deletions
|
@ -9,7 +9,11 @@ import warnings
|
|||
class HTTPException(Exception):
|
||||
# Jellyfin HTTP exception
|
||||
def __init__(self, status, message):
|
||||
warnings.warn(f'{self.__class__.__name__} will be deprecated.', DeprecationWarning, stacklevel=2)
|
||||
warnings.warn(
|
||||
f"{self.__class__.__name__} will be deprecated.",
|
||||
DeprecationWarning,
|
||||
stacklevel=2,
|
||||
)
|
||||
self.status = status
|
||||
self.message = message
|
||||
|
||||
|
@ -26,4 +30,5 @@ class PathValidationException(Exception):
|
|||
|
||||
TODO: Investigate the usage of this to see if it can be done better.
|
||||
"""
|
||||
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue