mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
Fix #729 tracker icons not being saved in the correct location
This commit is contained in:
parent
8e5473a91d
commit
ebc24e35dd
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user