Browse Source

Reinitialize the update_errors counter when reactivating updates

Gu1 11 years ago
parent
commit
917eeb7a6c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ffdnispdb/views.py

+ 1 - 0
ffdnispdb/views.py

@@ -349,6 +349,7 @@ def reactivate_isp(projectid):
         p.cache_info = session['form_reactivate']['cache_info']
         p.last_update_attempt = session['form_reactivate']['last_update']
         p.last_update_success = p.last_update_attempt
+        p.update_error_strike = 0
 
         db.session.add(p)
         db.session.commit()