mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
e3bcbac8b9
commit
70f28e78fb
@ -98,6 +98,7 @@ def init_manage_action(ac, field, value):
|
||||
ac.current_fmt = field, value
|
||||
return ac
|
||||
|
||||
|
||||
def init_find_in_tag_browser(menu, ac, field, value):
|
||||
from calibre.gui2.ui import get_gui
|
||||
hidden_cats = get_gui().tags_view.model().hidden_categories
|
||||
@ -107,6 +108,7 @@ def init_find_in_tag_browser(menu, ac, field, value):
|
||||
ac.current_fmt = field, value
|
||||
menu.addAction(ac)
|
||||
|
||||
|
||||
def render_html(mi, vertical, widget, all_fields=False, render_data_func=None, pref_name='book_display_fields'): # {{{
|
||||
func = render_data_func or render_data
|
||||
try:
|
||||
@ -292,6 +294,7 @@ def add_item_specific_entries(menu, data, book_info):
|
||||
menu.addAction(ac)
|
||||
return search_internet_added
|
||||
|
||||
|
||||
def details_context_menu_event(view, ev, book_info, add_popup_action=False):
|
||||
url = view.anchorAt(ev.pos())
|
||||
menu = view.createStandardContextMenu()
|
||||
|
Loading…
x
Reference in New Issue
Block a user