improve typing
This commit is contained in:
@@ -3,6 +3,7 @@ from getmac import get_mac_address
|
||||
from settings import settings
|
||||
import os
|
||||
|
||||
|
||||
class JellyfinUtils:
|
||||
@staticmethod
|
||||
def configure_client(client: JellyfinClient):
|
||||
@@ -12,7 +13,8 @@ class JellyfinUtils:
|
||||
JellyfinUtils.get_machine_name(),
|
||||
JellyfinUtils.get_unique_id()
|
||||
)
|
||||
client.config.data['auth.ssl'] = settings.jellyfin_server_url.startswith('https://')
|
||||
client.config.data['auth.ssl'] = settings.jellyfin_server_url.startswith(
|
||||
'https://')
|
||||
|
||||
@staticmethod
|
||||
def get_machine_name() -> str:
|
||||
|
||||
Reference in New Issue
Block a user