Fixed bugs in createCaliceColumn
This commit is contained in:
parent
0f35ae691e
commit
f9c70a8ee4
@ -555,7 +555,7 @@ class calibreDB():
|
||||
@classmethod
|
||||
def _requireCaliceColumn(cls):
|
||||
if not 'calice' in cls.getCustomColumns():
|
||||
raise Error('Custom Column missing from CalibreDB. Create it using the "createColumns" command.')
|
||||
raise Error('Custom Column missing from CalibreDB. Create it using the "createCaliceColumn" command.')
|
||||
|
||||
@classmethod
|
||||
def createCaliceColumn(cls):
|
||||
@ -1420,6 +1420,7 @@ def cliInterface(imgDef=False):
|
||||
p_new.add_argument('-n', type=int, default=10, help='number of books to recommend')
|
||||
|
||||
p_col = cmds.add_parser('calice', description="TODO", aliases=[])
|
||||
p_createCol = cmds.add_parser('createCaliceColumn', description="TODO", aliases=[])
|
||||
|
||||
p_full = cmds.add_parser('full', description="TODO", aliases=[])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user