From a7d8863998956f677fbbfc8f64ea29817c76821b Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Fri, 28 Apr 2023 15:06:32 +0900 Subject: [PATCH] Fix identify when the path has a column in it --- scanner/scanner/scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanner/scanner/scanner.py b/scanner/scanner/scanner.py index 3e3f3db6..8e61672f 100644 --- a/scanner/scanner/scanner.py +++ b/scanner/scanner/scanner.py @@ -34,7 +34,7 @@ class Scanner: # TODO: Once movies are separated from the api, a new endpoint should be created to check for paths. async with self._client.get( f"{self._url}/episodes/count", - params={"path": str(path)}, + params={"path": f"eq:{path}"}, headers={"X-API-Key": self._api_key}, ) as r: r.raise_for_status()