mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-29 16:33:24 +02:00
Fix #4710 (new author_sort[0] for sending to device/saving causes error)
This commit is contained in:
parent
5e93ea1da2
commit
b259de7497
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ def validate(self):
|
|||
tmpl = preprocess_template(self.opt_template.text())
|
||||
fa = {}
|
||||
for x in FORMAT_ARG_DESCS.keys():
|
||||
fa[x]=''
|
||||
fa[x]='random long string'
|
||||
try:
|
||||
tmpl.format(**fa)
|
||||
except Exception, err:
|
||||
|
|
|
|||
Loading…
Reference in a new issue