From 819245762ad56b71a4dd0e10624829b01afabf65 Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Fri, 4 Mar 2016 15:46:39 +0100 Subject: [PATCH] Fix for typo --- pillarsdk/projects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pillarsdk/projects.py b/pillarsdk/projects.py index c736371..c8ab0fe 100644 --- a/pillarsdk/projects.py +++ b/pillarsdk/projects.py @@ -68,7 +68,7 @@ class Project(List, Find, Create, Post, Update, Delete, Replace): for prop in ['picture_square', 'picture_header']: if prop in attributes and attributes[prop] is None: attributes.pop(prop) - # Strip embedded image file properties and rever to ObjectId + # Strip embedded image file properties and revert to ObjectId elif type(attributes[prop]) is dict: attributes[prop] = attributes[prop]['_id'] url = utils.join_url(self.path, str(self['_id']))