[gozerbot] push by bthate - use google.com in weather plugin on 2012-07-05 13:35 GMT

1 view
Skip to first unread message

goze...@googlecode.com

unread,
Jul 5, 2012, 9:35:35 AM7/5/12
to gozerbo...@googlegroups.com
Revision: 021ee1dde266
Author: Bart Thate <bth...@gmail.com>
Date: Thu Jul 5 06:34:35 2012
Log: use google.com in weather plugin
http://code.google.com/p/gozerbot/source/detail?r=021ee1dde266

Modified:
/gplugs/weather.py

=======================================
--- /gplugs/weather.py Fri Apr 6 02:39:59 2012
+++ /gplugs/weather.py Thu Jul 5 06:34:35 2012
@@ -63,7 +63,7 @@
ievent.missing('--u <nick> or <location>')
return
query = urlencode({'weather':loc})
- weathertxt = geturl('http://www.google.ca/ig/api?%s' % query)
+ weathertxt = geturl('http://www.google.com/ig/api?%s' % query)
if 'problem_cause' in weathertxt:
rlog(10, 'weather', 'ERROR: %s' % weathertxt)
ievent.reply('an error occured looking up data for %s' % loc)
Reply all
Reply to author
Forward
0 new messages