mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #4710 (new author_sort[0] for sending to device/saving causes error)
This commit is contained in:
parent
5e93ea1da2
commit
b259de7497
@ -37,7 +37,7 @@ class SaveTemplate(QWidget, Ui_Form):
|
||||
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…
x
Reference in New Issue
Block a user