Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Commit

Permalink
disabled activity count retrieval from ALE endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
dtraviglia committed Nov 6, 2015
1 parent 06913d4 commit cc40eae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion op_tasks/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ def product(request, task_pk):
current_tasklistitem.date_complete = timezone.localtime(timezone.now())
sessionID = '%s::%s' % (userprofile.user_hash, current_tasklistitem.pk)
try:
current_tasklistitem.activity_count = count_activities(sessionID)
current_tasklistitem.activity_count = 0
# current_tasklistitem.activity_count = count_activities(sessionID)
except Exception as inst:
# print inst
current_tasklistitem.activity_count = 0
Expand Down

0 comments on commit cc40eae

Please sign in to comment.