Fixed reset of tracker between instances

This commit is contained in:
Benjamin Harder
2025-06-07 15:00:53 +02:00
parent a41d769a16
commit ff3a54c4f9
2 changed files with 2 additions and 5 deletions

View File

@@ -138,7 +138,6 @@ class ArrInstance:
version: str = None
name: str = None
tracker = Tracker()
def __init__(self, settings, arr_type: str, base_url: str, api_key: str):
if not base_url:
@@ -152,6 +151,7 @@ class ArrInstance:
raise ValueError(error)
self.settings = settings
self.tracker = Tracker()
self.arr_type = arr_type
self.base_url = base_url.rstrip("/")
self.api_key = api_key
@@ -163,8 +163,6 @@ class ArrInstance:
self.detail_item_ids_key = self.detail_item_key + "Ids"
self.detail_item_search_command = getattr(DetailItemSearchCommand, arr_type)
self.detail_item_search_command = getattr(DetailItemSearchCommand, arr_type)
async def _check_ui_language(self):
"""Check if the UI language is set to English."""
endpoint = self.api_url + "/config/ui"