mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix template dialog test not working
This commit is contained in:
parent
4f74607a9b
commit
8e3398d0c1
@ -453,6 +453,7 @@ class TemplateDialog(QDialog, Ui_TemplateDialog):
|
||||
|
||||
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…
x
Reference in New Issue
Block a user