mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Mobileread won't attach "non-standard" extensions. Change to using "txt".
This commit is contained in:
parent
bc5924f251
commit
d54602d505
@ -462,7 +462,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
|||||||
return
|
return
|
||||||
filename = choose_files(self, 'st_import_export_stored_template',
|
filename = choose_files(self, 'st_import_export_stored_template',
|
||||||
_('Import template from file'),
|
_('Import template from file'),
|
||||||
filters=[(_('Saved stored template'), ['stjson'])],
|
filters=[(_('Saved stored template'), ['txt'])],
|
||||||
select_only_single_file=True)
|
select_only_single_file=True)
|
||||||
if filename:
|
if filename:
|
||||||
self.st_clear_button_clicked()
|
self.st_clear_button_clicked()
|
||||||
@ -491,7 +491,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
|||||||
return
|
return
|
||||||
filename = choose_save_file(self, 'st_import_export_stored_template',
|
filename = choose_save_file(self, 'st_import_export_stored_template',
|
||||||
_('Export template to file'),
|
_('Export template to file'),
|
||||||
filters=[(_('Saved stored template'), ['stjson'])],
|
filters=[(_('Saved stored template'), ['txt'])],
|
||||||
initial_filename=self.te_name.currentText())
|
initial_filename=self.te_name.currentText())
|
||||||
if filename:
|
if filename:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user