Commit 8e169e64 by David Baumgold

Unnecessary dict()

parent 66cee845
...@@ -425,7 +425,7 @@ class RecommenderXBlock(XBlock): ...@@ -425,7 +425,7 @@ class RecommenderXBlock(XBlock):
result['upvotes'] = 0 result['upvotes'] = 0
result['downvotes'] = 0 result['downvotes'] = 0
self.recommendations.append(dict(result)) self.recommendations.append(result)
result['Success'] = True result['Success'] = True
tracker.emit('add_resource', result) tracker.emit('add_resource', result)
return result return result
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment