mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-20 00:58:50 +00:00
fix error, use os.makedirs instead of os.mkdir, effectively mkdir -p
This commit is contained in:
parent
80e480854e
commit
e0f2c2473e
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class TrackerIcons(component.Component):
|
||||||
#set image cache dir
|
#set image cache dir
|
||||||
self.image_dir = os.path.join(deluge.configmanager.get_config_dir(), "icons")
|
self.image_dir = os.path.join(deluge.configmanager.get_config_dir(), "icons")
|
||||||
if not os.path.exists(self.image_dir):
|
if not os.path.exists(self.image_dir):
|
||||||
os.mkdir(self.image_dir)
|
os.makedirs(self.image_dir)
|
||||||
|
|
||||||
#self.images : {tracker_host:filename}
|
#self.images : {tracker_host:filename}
|
||||||
self.images = {"DHT":get_pixmap("dht16.png" )}
|
self.images = {"DHT":get_pixmap("dht16.png" )}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue