mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 20:24:27 -04:00
scanner: quote path when deleting issues (#446)
This commit is contained in:
parent
8b1524c155
commit
f431e7930d
@ -60,7 +60,7 @@ class KyooClient:
|
|||||||
|
|
||||||
async def delete_issue(self, path: str):
|
async def delete_issue(self, path: str):
|
||||||
async with self.client.delete(
|
async with self.client.delete(
|
||||||
f'{self._url}/issues?filter=domain eq scanner and cause eq "{path}"',
|
f'{self._url}/issues?filter=domain eq scanner and cause eq "{quote(path)}"',
|
||||||
headers={"X-API-Key": self._api_key},
|
headers={"X-API-Key": self._api_key},
|
||||||
) as r:
|
) as r:
|
||||||
if not r.ok:
|
if not r.ok:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user