summaryrefslogtreecommitdiff
path: root/invest-applet/invest/chart.py
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-10-29 11:21:32 -0700
committerStefano Karapetsas <[email protected]>2013-10-29 11:21:32 -0700
commit5b846d375f39bbe6cb350a6c7399ebd87fd26cec (patch)
treea5927b6995fcbf07fe6e9392c22a027090988ba1 /invest-applet/invest/chart.py
parentd3178d6a81bb95316193d24926bed3fdc943355e (diff)
parent302344d247784c10ab688f71b6c8e1b8638bf35d (diff)
downloadmate-applets-5b846d375f39bbe6cb350a6c7399ebd87fd26cec.tar.bz2
mate-applets-5b846d375f39bbe6cb350a6c7399ebd87fd26cec.tar.xz
Merge pull request #61 from dxav/master
Upate yahoo finance http adress
Diffstat (limited to 'invest-applet/invest/chart.py')
-rw-r--r--invest-applet/invest/chart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/invest-applet/invest/chart.py b/invest-applet/invest/chart.py
index e13e0686..0899351d 100644
--- a/invest-applet/invest/chart.py
+++ b/invest-applet/invest/chart.py
@@ -210,7 +210,7 @@ class FinancialChart:
a += "%s%s," % (name[1:], param)
# Create the image URL -----------------------------------------------------
- chart_base_url = "http://ichart.europe.yahoo.com/z?s=%(s)s&t=%(t)s&q=%(q)s&l=%(l)s&z=%(z)s&p=%(p)s&a=%(a)s%(opt)s"
+ chart_base_url = "http://chart.finance.yahoo.com/z?s=%(s)s&t=%(t)s&q=%(q)s&l=%(l)s&z=%(z)s&p=%(p)s&a=%(a)s%(opt)s"
url = chart_base_url % {
"s": tickers[0],
"t": self.time_ranges[self.ui.get_object("t").get_active()],