From 6ebe7d03fc58dfa24e1dbb4a866f76d98efc3a2e Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Sat, 19 Mar 2022 12:21:48 +0100 Subject: [PATCH] Reduced Calice Score to only 6 digits --- caliGraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caliGraph.py b/caliGraph.py index 55cea0d..8748860 100755 --- a/caliGraph.py +++ b/caliGraph.py @@ -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))))