Explorar o código

fix diff call

Davide Alberani %!s(int64=6) %!d(string=hai) anos
pai
achega
ae7ef48dfb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      diffido.py

+ 1 - 1
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'),