summaryrefslogtreecommitdiff
path: root/invest-applet
diff options
context:
space:
mode:
authordxav <[email protected]>2013-10-28 21:26:29 +0100
committerMartin Wimpress <[email protected]>2013-12-17 13:08:55 +0000
commit28b6083bf1b48c917f2e45fc8910da4941beddbd (patch)
treeb8ce655cc83c510d6ab039a91f501b2e77de7c81 /invest-applet
parent48ca1a9f1638fa5321af4785a36c3adef46268b2 (diff)
downloadmate-applets-28b6083bf1b48c917f2e45fc8910da4941beddbd.tar.bz2
mate-applets-28b6083bf1b48c917f2e45fc8910da4941beddbd.tar.xz
Upate yahoo finance http adress
Diffstat (limited to 'invest-applet')
-rw-r--r--invest-applet/invest/chart.py2
-rw-r--r--invest-applet/invest/quotes.py2
2 files changed, 2 insertions, 2 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()],
diff --git a/invest-applet/invest/quotes.py b/invest-applet/invest/quotes.py
index 44943b1d..448c13bd 100644
--- a/invest-applet/invest/quotes.py
+++ b/invest-applet/invest/quotes.py
@@ -287,7 +287,7 @@ class QuoteUpdater(Gtk.ListStore):
self.add_balance_change(balance, change, val["currency"])
if len(ticker.split('.')) == 2:
- url = 'http://ichart.europe.yahoo.com/h?s=%s' % ticker
+ url = 'http://chart.finance.yahoo.com/h?s=%s' % ticker
else:
url = 'http://ichart.yahoo.com/h?s=%s' % ticker