Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/cbhaley/calibre
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Aug 16, 2023
2 parents 212564d + ec7196b commit f1537ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/calibre/gui2/preferences/save_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def do_open_editor(self):
from calibre.gui2.ui import get_gui
db = get_gui().current_db
view = get_gui().library_view
mi = tuple(map(db.new_api.get_proxy_metadata, view.get_selected_ids()[:10]))
mi = list(map(db.new_api.get_proxy_metadata, view.get_selected_ids()[:10]))
if not mi:
error_dialog(self, _('Must select books'),
_('One or more books must be selected so the template '
Expand Down

0 comments on commit f1537ba

Please sign in to comment.