mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
9ab23594ee
commit
fa04ef7ffc
@ -1053,10 +1053,11 @@ class Reports(Dialog):
|
||||
|
||||
if __name__ == '__main__':
|
||||
from calibre.gui2 import Application
|
||||
import sys
|
||||
app = Application([])
|
||||
from calibre.gui2.tweak_book import set_current_container
|
||||
from calibre.gui2.tweak_book.boss import get_container
|
||||
set_current_container(get_container('/t/demo.epub'))
|
||||
set_current_container(get_container(sys.argv[-1]))
|
||||
d = Reports()
|
||||
d.refresh()
|
||||
d.exec_()
|
||||
|
Loading…
x
Reference in New Issue
Block a user