mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Device Config: Use default save template when none is specified.
This commit is contained in:
parent
e27fa828f4
commit
386625f957
@ -64,7 +64,7 @@ class DeviceConfig(object):
|
|||||||
ec = None
|
ec = None
|
||||||
proxy['extra_customization'] = ec
|
proxy['extra_customization'] = ec
|
||||||
st = unicode(config_widget.opt_save_template.text())
|
st = unicode(config_widget.opt_save_template.text())
|
||||||
proxy['save_template'] = st
|
proxy['save_template'] = st if st else cls._default_save_template()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def settings(cls):
|
def settings(cls):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user