1
0
mirror of https://github.com/ciromattia/kcc synced 2026-05-03 14:22:10 +00:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Alex Xu
2878e5d41b bump to 10.1.2 2026-05-02 15:17:36 -07:00
Alex Xu
bd691989a9 fix KFX on Windows 7 (#1323) 2026-05-02 15:13:21 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
__version__ = '10.1.1'
__version__ = '10.1.2'
__license__ = 'ISC'
__copyright__ = '2012-2022, Ciro Mattia Gonano <ciromattia@gmail.com>, Pawel Jastrzebski <pawelj@iosphe.re>, darodi'
__docformat__ = 'restructuredtext en'

View File

@@ -1719,7 +1719,7 @@ def makeBook(source, qtgui=None, job_progress=''):
most_common_res, most_common_count = counter.most_common(1)[0]
options.kfx_resolution = most_common_res
if most_common_count / counter.total() > .6:
if most_common_count / sum(counter.values()) > .6:
pass
#elif max(aspect_ratios) - min(aspect_ratios) < .2:
else: