alias %(title)s to %(stitle)s
This commit is contained in:
parent
baec15387c
commit
b6fab35b9f
4 changed files with 7 additions and 6 deletions
|
@ -322,6 +322,7 @@ class FileDownloader(object):
|
|||
template_dict = dict(info_dict)
|
||||
template_dict['epoch'] = unicode(long(time.time()))
|
||||
template_dict['autonumber'] = unicode('%05d' % self._num_downloads)
|
||||
template_dict['title'] = template_dict['stitle'] # Keep both for backwards compatibility
|
||||
filename = self.params['outtmpl'] % template_dict
|
||||
return filename
|
||||
except (ValueError, KeyError), err:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue