summaryrefslogtreecommitdiff
path: root/api.py
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-03-13 21:13:00 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2017-03-13 21:13:00 +0100
commita671bcb464ec9810cc9aeba26b71a9ca1e4bdd99 (patch)
tree311c9eb2e91090b36ada322d02b7dc31f88cb380 /api.py
parent6186dbc0e46df0d4e55f2f8bb179489ae00bfe41 (diff)
downloadapigrabber-a671bcb464ec9810cc9aeba26b71a9ca1e4bdd99.tar.gz
apigrabber-a671bcb464ec9810cc9aeba26b71a9ca1e4bdd99.zip
use joblib notifications
Diffstat (limited to 'api.py')
-rw-r--r--api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.py b/api.py
index 1d7e863..484fb46 100644
--- a/api.py
+++ b/api.py
@@ -60,7 +60,7 @@ class Apigrabber(joblib.worker.Worker):
"id": mat["id"],
"playername": playername
} for mat in matchids]
- await self._queue.request(jobtype="process",
+ await self.request(jobtype="process",
payload=payloads,
priority=priority)
except crawler.ApiError as error: