Allow opts.cachedir == None to disable cache
This commit is contained in:
parent
c705320f48
commit
c3c88a2664
3 changed files with 3 additions and 3 deletions
|
@ -618,7 +618,7 @@ def _real_main(argv=None):
|
|||
'min_filesize': opts.min_filesize,
|
||||
'max_filesize': opts.max_filesize,
|
||||
'daterange': date,
|
||||
'cachedir': opts.cachedir,
|
||||
'cachedir': opts.cachedir if opts.cachedir != 'NONE' else None,
|
||||
'youtube_print_sig_code': opts.youtube_print_sig_code,
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue