From ae7ef48dfb5619092bc5edbc3ea348428579778d Mon Sep 17 00:00:00 2001 From: Davide Alberani Date: Tue, 23 Jan 2018 22:47:36 +0100 Subject: [PATCH] fix diff call --- diffido.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diffido.py b/diffido.py index 4eb9c03..eea526e 100755 --- a/diffido.py +++ b/diffido.py @@ -147,7 +147,7 @@ def run_job(id_=None, *args, **kwargs): if change_fraction < min_change: return # send notification - diff = get_diff(id_, {}).get('diff') + diff = get_diff(id_).get('diff') if not diff: return send_email(to=email, subject='%s page changed' % schedule.get('title'),