A feature-rich command-line audio/video downloader
Fix os.makedirs in Windows
Philipp Hagemeistere5e74ffb9710
diff --git a/youtube-dl b/youtube-dlindex cc6462cc00..153d4132fa 100755--- a/youtube-dl+++ b/youtube-dl@@ -711,7 +711,9 @@ class FileDownloader(object):returntry:- os.makedirs(os.path.dirname(filename))+ dn = os.path.dirname(filename)+ if dn != '' and not os.path.exists(dn):+ os.makedirs(dn)except (OSError, IOError), err:self.trouble(u'ERROR: unable to create directories: %s' % str(err))return