Skip to content

Commit

Permalink
Keys with dots are available for mongodb
Browse files Browse the repository at this point in the history
Fixes muatik#80
  • Loading branch information
fsucu committed Apr 2, 2018
1 parent b9d4b7a commit e51b68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_profiler/storage/mongo.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def insert(self, measurement):
measurement["endedAt"] = datetime.datetime.fromtimestamp(
measurement["endedAt"])

result = self.collection.insert(measurement)
result = self.collection.insert(measurement, check_keys=False)
if result:
return True
return False
Expand Down

0 comments on commit e51b68f

Please sign in to comment.