Skip to content
Snippets Groups Projects
Commit 47d7452d authored by Nico Vermaas's avatar Nico Vermaas
Browse files

update activities part 2

parent 6e8ed5e7
Branches
Tags
1 merge request!340SDC-1188 step 2 deploy
Pipeline #72374 passed
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
{% include 'taskdatabase/pagination.html' %} {% include 'taskdatabase/pagination.html' %}
</div> </div>
</div> </div>
<p class="footer"> Version 15 Feb 2024 (19:00) <p class="footer"> Version 15 Feb 2024 (19:50)
</div> </div>
{% include 'taskdatabase/refresh.html' %} {% include 'taskdatabase/refresh.html' %}
......
...@@ -1712,7 +1712,8 @@ def UpdateAllActivities(request): ...@@ -1712,7 +1712,8 @@ def UpdateAllActivities(request):
try: try:
i += 1 i += 1
task = Task.objects.filter(sas_id=activity.sas_id)[0] task = Task.objects.filter(sas_id=activity.sas_id)[0]
activities_handler.update_activity(task) if i>1465:
activities_handler.update_activity(task)
logger.info(f'{i} of {total}') logger.info(f'{i} of {total}')
except Exception as error: except Exception as error:
logger.error(error) logger.error(error)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment