Skip to content

Commit

Permalink
More Bugs fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
soumya-ghosh committed Apr 8, 2014
1 parent 5753e83 commit c242f12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ def post(self):
woeid = locations_to_woeid[location]
data = api.trends_place(woeid)
trends = data[0]['trends']
names = ['<a href="' + trend['url'] + ' >' + trend['name'] + '</a>' for trend in trends]
names = ['<a href=' + trend['url'] + '>' + trend['name'] + '</a>' for trend in trends]
# names = [trend['name'] for trend in trends]
trends_names = '<br/>'.join(names)
self.response.write('<html><body><h2>You selected: ')
self.response.write(cgi.escape(location))
Expand Down

0 comments on commit c242f12

Please sign in to comment.