Module: deluge Branch: master Commit: e0f2c2473e5a0ef374c049cbd0e0d544caadd6d2
Author: Damien Churchill <[email protected]> Date: Sat Apr 17 22:13:17 2010 +0100 fix error, use os.makedirs instead of os.mkdir, effectively mkdir -p --- deluge/ui/tracker_icons.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/deluge/ui/tracker_icons.py b/deluge/ui/tracker_icons.py index 6ce7906..8d38c9c 100644 --- a/deluge/ui/tracker_icons.py +++ b/deluge/ui/tracker_icons.py @@ -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" )} -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
