mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-25 08:32:27 -04:00
Fix scanner delete/recreate handling
This commit is contained in:
@@ -241,6 +241,7 @@ class Scanner:
|
||||
|
||||
async def delete(self, path: str):
|
||||
logging.info("Deleting %s", path)
|
||||
self.registered = filter(lambda x: x != path, self.registered)
|
||||
async with self._client.delete(
|
||||
f'{self._url}/movies?filter=path eq "{path}"',
|
||||
headers={"X-API-Key": self._api_key},
|
||||
|
||||
Reference in New Issue
Block a user