diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-10 16:22:32 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-10 16:22:32 +0100 |
| commit | 4820673df0a122cf81c3657aa427045ad9de4818 (patch) | |
| tree | c0aa14f09f9eecb983e8be3a7838fc8eea593e4a | |
| parent | dcec341b23411320dbe586eb7c889cdb6ff31ed9 (diff) | |
| download | joblib-4820673df0a122cf81c3657aa427045ad9de4818.tar.gz joblib-4820673df0a122cf81c3657aa427045ad9de4818.zip | |
bugfix: prepared statements don't have .execute()
| -rw-r--r-- | joblib.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -152,8 +152,8 @@ class JobQueue(object): reasons = reason assert len(jobids) == len(reasons) for jid, rsn in zip(jobids, reasons): - await update.execute(jid, - json.dumps({"error": rsn})) + await update.fetch(jid, + json.dumps({"error": rsn})) async def reset(self, jobid): """Mark a job as open.""" |
