mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Fix template dialog test not working
This commit is contained in:
parent
4f74607a9b
commit
8e3398d0c1
1 changed files with 2 additions and 1 deletions
|
|
@ -453,6 +453,7 @@ def accept(self):
|
|||
|
||||
if __name__ == '__main__':
|
||||
app = QApplication([])
|
||||
d = TemplateDialog(None, '{title}')
|
||||
from calibre.ebooks.metadata.book.base import field_metadata
|
||||
d = TemplateDialog(None, '{title}', fm=field_metadata)
|
||||
d.exec_()
|
||||
del app
|
||||
|
|
|
|||
Loading…
Reference in a new issue