From ebc24e35ddef265816d164464e3a5c971ccf7269 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Fri, 16 Jan 2009 03:18:43 +0000 Subject: [PATCH] Fix #729 tracker icons not being saved in the correct location --- deluge/ui/tracker_icons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()