diff --git a/apps/assets/tasks.py b/apps/assets/tasks.py index 68b0cafca..2c5267281 100644 --- a/apps/assets/tasks.py +++ b/apps/assets/tasks.py @@ -72,7 +72,7 @@ def test_admin_user_connective_period(): for i in summary['success']: cache.set(i, '1', 2*60*60*60) - for i in summary['failed']: + for i, msg in summary['failed']: cache.set(i, '0', 60*60*60) return summary