Reduced Calice Score to only 6 digits

This commit is contained in:
Dominik Moritz Roth 2022-03-19 12:21:48 +01:00
parent 8e8592bb29
commit 6ebe7d03fc

View File

@ -583,7 +583,7 @@ class calibreDB():
for bookId in tqdm(scores):
score = scores[bookId]
if sco:
cls._getTxt('set_custom calice_score '+str(bookId)+' '+str(score))
cls._getTxt('set_custom calice_score '+str(bookId)+' '+str(round(score,5)))
if rat:
cls._getTxt('set_custom calice_rating '+str(bookId)+' '+str(int(round(score))))