summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Resch <andrewresch@gmail.com>2009-01-16 03:18:43 +0000
committerAndrew Resch <andrewresch@gmail.com>2009-01-16 03:18:43 +0000
commite31eab5303a0a4692e03393796640dfe2e756204 (patch)
tree29e9714785906194b81644898cce3600fc22f026
parent1bf742290497504d90390b6c620a993c20cb730f (diff)
downloaddeluge-e31eab5303a0a4692e03393796640dfe2e756204.tar.gz
deluge-e31eab5303a0a4692e03393796640dfe2e756204.tar.bz2
deluge-e31eab5303a0a4692e03393796640dfe2e756204.zip
Fix #729 tracker icons not being saved in the correct location
-rw-r--r--ChangeLog1
-rw-r--r--deluge/ui/tracker_icons.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8a1e42cbd..ec7cf8619 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@ Deluge 1.1.1 - (In Development)
Misc:
* Fix bdecoding some torrent files
* Fix the -l, --logfile option
+ * Fix #729 tracker icons not being saved in the correct location
Deluge 1.1.0 - "Time gas!" (10 January 2009)
Core:
diff --git a/deluge/ui/tracker_icons.py b/deluge/ui/tracker_icons.py
index 803e5e33a..4ee2027bc 100644
--- a/deluge/ui/tracker_icons.py
+++ b/deluge/ui/tracker_icons.py
@@ -136,7 +136,7 @@ class TrackerIcons(object):
ext, icon_data = self._fetch_icon(tracker_host)
if icon_data:
- filename = os.path.join(deluge.configmanager.get_config_dir(), "%s.%s" % (tracker_host, ext))
+ filename = os.path.join(self.image_dir, "%s.%s" % (tracker_host, ext))
f = open(filename,"wb")
f.write(icon_data)
f.close()