Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit cef786f

Browse files
author
Jon Heaton
committed
cast location.id to string
1 parent 1b9f7a4 commit cef786f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

instagram/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def __unicode__(self):
155155

156156
class Location(ApiModel):
157157
def __init__(self, id, *args, **kwargs):
158-
self.id = id
158+
self.id = str(id)
159159
for key, value in kwargs.iteritems():
160160
setattr(self, key, value)
161161

0 commit comments

Comments
 (0)