diff options
| author | Philipp Hagemeister <phihag@phihag.de> | 2014-09-01 17:11:28 +0200 | 
|---|---|---|
| committer | Philipp Hagemeister <phihag@phihag.de> | 2014-09-01 17:11:28 +0200 | 
| commit | 35b1e44567710f65297472ed6fcd251c452d63e8 (patch) | |
| tree | db56c6de3bdffa89bc759479fbf52079d68880bc | |
| parent | c9ea760e3113151ee7bfe97c34717fe01e239b73 (diff) | |
Fix --rm-cache-dir error message
| -rw-r--r-- | youtube_dl/__init__.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index b15695053..bf616e3b6 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -876,7 +876,7 @@ def _real_main(argv=None):                  ydl.to_screen(u'No cache dir specified (Did you combine --no-cache-dir and --rm-cache-dir?)')              else:                  if ('.cache' not in opts.cachedir) or ('youtube-dl' not in opts.cachedir): -                    ydl.to_screen(u'Not removing directory %s - this does not look like a cache dir') +                    ydl.to_screen(u'Not removing directory %s - this does not look like a cache dir' % opts.cachedir)                      retcode = 141                  else:                      ydl.to_screen(  | 
