mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-01 10:04:12 +08:00
fix
This commit is contained in:
parent
0db3063829
commit
6c1071c181
@ -41,7 +41,15 @@ def _2_f(line, args):
|
|||||||
else:
|
else:
|
||||||
cntx += 1
|
cntx += 1
|
||||||
_max = max(dumptime.values())
|
_max = max(dumptime.values())
|
||||||
guesstimes = sorted(dumptime.keys(), key=lambda x: x * (dumptime[x] != _max))[0]
|
xx = []
|
||||||
|
for _, _2 in dumptime.items():
|
||||||
|
if _2 == _max:
|
||||||
|
xx.append(_)
|
||||||
|
|
||||||
|
guesstimes = sorted(xx)
|
||||||
|
if guesstimes[0] == 1 and len(guesstimes) > 1:
|
||||||
|
guesstimes = guesstimes[1:]
|
||||||
|
guesstimes = guesstimes[0]
|
||||||
if keepnodump:
|
if keepnodump:
|
||||||
newline = ""
|
newline = ""
|
||||||
i = 0
|
i = 0
|
||||||
|
@ -29,7 +29,7 @@ include(generate_product_version)
|
|||||||
|
|
||||||
set(VERSION_MAJOR 5)
|
set(VERSION_MAJOR 5)
|
||||||
set(VERSION_MINOR 20)
|
set(VERSION_MINOR 20)
|
||||||
set(VERSION_PATCH 0)
|
set(VERSION_PATCH 1)
|
||||||
|
|
||||||
add_library(pch pch.cpp)
|
add_library(pch pch.cpp)
|
||||||
target_precompile_headers(pch PUBLIC pch.h)
|
target_precompile_headers(pch PUBLIC pch.h)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user