From df6beb6e09d0d1b969e3193b893dcbffd08d273a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 8 Nov 2011 12:42:24 +0530 Subject: [PATCH] ... --- src/calibre/gui2/wizard/__init__.py | 5 +++++ src/calibre/library/save_to_disk.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/calibre/gui2/wizard/__init__.py b/src/calibre/gui2/wizard/__init__.py index 9fe258e836..c0965412db 100644 --- a/src/calibre/gui2/wizard/__init__.py +++ b/src/calibre/gui2/wizard/__init__.py @@ -122,6 +122,11 @@ class Kobo(Device): output_format = 'EPUB' id = 'kobo' +class KoboVox(Kobo): + name = 'Kobo Vox' + output_profile = 'tablet' + id = 'kobo_vox' + class Booq(Device): name = 'bq Classic' manufacturer = 'Booq' diff --git a/src/calibre/library/save_to_disk.py b/src/calibre/library/save_to_disk.py index 45d80839b2..c8ac28a01f 100644 --- a/src/calibre/library/save_to_disk.py +++ b/src/calibre/library/save_to_disk.py @@ -173,7 +173,7 @@ def get_components(template, mi, id, timefmt='%b %Y', length=250, tsorder = tweaks['save_template_title_series_sorting'] format_args = FORMAT_ARGS.copy() format_args.update(mi.all_non_none_fields()) - if mi.is_null('author_sort'): + if mi.author_sort == _('Unknown'): format_args['author_sort'] = _('Unknown') if mi.title: if tsorder == 'strictly_alphabetic':