From 643ba9e775779f3edf66b732ec22b01a2920e83f Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Mon, 8 Apr 2019 17:30:24 +0200 Subject: [PATCH] Bugfix --- app.py | 6 ------ poussetaches.py | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/app.py b/app.py index 9afd27a..906af26 100644 --- a/app.py +++ b/app.py @@ -96,12 +96,6 @@ p.push({}, "/task/cleanup_part_1", schedule="@every 12h") p.push({}, "/task/cleanup_part_2", schedule="@every 12h") p.push({}, "/task/cleanup_part_3", schedule="@every 12h") -# Also trigger a cleanup now -p.push({}, "/task/cleanup_part_1") -p.push({}, "/task/cleanup_part_2") -p.push({}, "/task/cleanup_part_3") - - back = activitypub.MicroblogPubBackend() ap.use_backend(back) diff --git a/poussetaches.py b/poussetaches.py index 6f06e14..2e61105 100644 --- a/poussetaches.py +++ b/poussetaches.py @@ -101,7 +101,7 @@ class PousseTaches: task_id=t["id"], payload=t["payload"], expected=t["expected"], - shedule=t["schedule"], + schedule=t["schedule"], tries=t["tries"], url=t["url"], last_error_status_code=t["last_error_status_code"],