Browse Source

Cron task: fix url_for() calls now that we use blueprints

Gu1 11 years ago
parent
commit
7f2660c523
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ffdnispdb/cron_task.py

+ 1 - 1
ffdnispdb/cron_task.py

@@ -84,7 +84,7 @@ Thanks,
 The FFDN ISP Database team
 https://db.ffdn.org
     """.strip()%(isp.complete_name, isp.json_url, debug_msg.strip(),
-                 url_for('reactivate_isp', projectid=isp.id), gen_reactivate_key(isp))
+                 url_for('ispdb.reactivate_isp', projectid=isp.id), gen_reactivate_key(isp))
     msg.add_recipient(isp.tech_email)
     print u'    Sending notification email to %s'%(isp.tech_email)
     mail.send(msg)