kindle manager
This commit is contained in:
8
kman.py
8
kman.py
@@ -279,9 +279,9 @@ def drop_duplicate(bks):
|
||||
prevs['content'] in vs['content']) and \
|
||||
prevs['type'] == vs['type']:
|
||||
bks[kb].pop(preks)
|
||||
if vs['content'] != prevs['content']:
|
||||
print('prevs',prevs['type'],prevs['content'])
|
||||
print(' vs', vs['type'], vs['content'])
|
||||
#if vs['content'] != prevs['content']:
|
||||
# print('prevs',prevs['type'],prevs['content'])
|
||||
# print(' vs', vs['type'], vs['content'])
|
||||
|
||||
preks = ks
|
||||
prevs = vs
|
||||
@@ -346,6 +346,7 @@ def search_clip(bks, s, t='ALL', p='ALL'):
|
||||
|
||||
return [nu,nbks]
|
||||
|
||||
# to be implement
|
||||
def statistic(bks):
|
||||
pass
|
||||
|
||||
@@ -443,3 +444,4 @@ if __name__=='__main__':
|
||||
logger.debug(json.dumps(books, indent=4, sort_keys=True, ensure_ascii=False))
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user