Skip to content

Commit

Permalink
Fix timeline service.
Browse files Browse the repository at this point in the history
  • Loading branch information
wxsBSD committed Jun 13, 2014
1 parent 4565e75 commit 0aa57db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions timeline_service/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ def generate_timeline(obj_type, obj_id, user):
# comments
cobj = class_from_type("Comment")
comments = cobj.objects(obj_type=obj_type,
obj_id=obj_id,
comment_type="comment")
obj_id=obj_id)
for comment in comments:
i = "<b>%s</b> made a comment: %s" % (comment.analyst,
comment.comment)
Expand Down

0 comments on commit 0aa57db

Please sign in to comment.