Ver Fonte

Исправлен баг

Book Pauk há 5 anos atrás
pai
commit
6e46947220
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      server/core/Reader/BookConverter/textUtils.js

+ 1 - 1
server/core/Reader/BookConverter/textUtils.js

@@ -100,7 +100,7 @@ function getEncodingLite(buf, returnAll) {
 }
 
 function checkIfText(buf) {
-    const enc = getEncoding(buf, true);
+    const enc = getEncodingLite(buf, true);
     if (enc[0].c > enc[0].totalChecked*0.9)
         return true;