Skip to content

Commit

Permalink
Patch quote error
Browse files Browse the repository at this point in the history
  • Loading branch information
kofalt committed Apr 10, 2017
1 parent 1fbaead commit d743cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/handlers/containerhandler.py
Expand Up @@ -167,7 +167,7 @@ def handle_origin(self, result):
gear_name = None

if cached_gears.get(gear_id, None) is not None:
gear_name = cached_gears['gear_id']['gear']['name']
gear_name = cached_gears[gear_id]
else:
gear_id_bson = bson.ObjectId(gear_id)
gear = config.db.gears.find_one({'_id': gear_id_bson})
Expand Down

0 comments on commit d743cc9

Please sign in to comment.