Skip to content

Commit

Permalink
Fixed loading after @BeijingAir changed their tweet structure slightl…
Browse files Browse the repository at this point in the history
…y and broke the app
  • Loading branch information
eyeseast committed Feb 11, 2010
1 parent ba19320 commit 0880aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion load.py
Expand Up @@ -69,7 +69,7 @@ def walk_back(loops=1, count=24, **params):


def _handle_tweet(tweet):
tweet_list = tweet['text'].split(' ; ')
tweet_list = tweet['text'].split('; ')
update = SmogUpdate()
update.timestamp = utils.parsedate('%s %s' % (tweet_list[0], tweet_list[1]))
update.concentration = tweet_list[3]
Expand Down

0 comments on commit 0880aa5

Please sign in to comment.