mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +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
|
||||
self.image_dir = os.path.join(deluge.configmanager.get_config_dir(), "icons")
|
||||
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 = {"DHT":get_pixmap("dht16.png" )}
|
||||
|
|
Loading…
Add table
Reference in a new issue