Commit 988d80a1 by Serbaf

0.5.3

parent 9e2e58ba
...@@ -83,3 +83,5 @@ Version 0.5.1: ...@@ -83,3 +83,5 @@ Version 0.5.1:
Tiny fix in the imports Tiny fix in the imports
Version 0.5.2: Version 0.5.2:
Added method to get Tweet in JSON form Added method to get Tweet in JSON form
Version 0.5.3:
Coordinates stored as list and not as str
...@@ -51,6 +51,6 @@ setup( ...@@ -51,6 +51,6 @@ setup(
test_suite='tests', test_suite='tests',
tests_require=test_requirements, tests_require=test_requirements,
url='https://github.com/Serbaf/tweet_model', url='https://github.com/Serbaf/tweet_model',
version='0.5.2', version='0.5.3',
zip_safe=False, zip_safe=False,
) )
...@@ -223,7 +223,7 @@ class Tweet(): ...@@ -223,7 +223,7 @@ class Tweet():
# Coordinates object # Coordinates object
self.coordinates = {} self.coordinates = {}
self.coordinates["coordinates"] = coordinates__coordinates self.coordinates["coordinates"] = json.loads(coordinates__coordinates)
self.coordinates["type"] = coordinates__type self.coordinates["type"] = coordinates__type
# Place object # Place object
......
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