mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
fix
This commit is contained in:
parent
0db3063829
commit
6c1071c181
@ -41,7 +41,15 @@ def _2_f(line, args):
|
||||
else:
|
||||
cntx += 1
|
||||
_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:
|
||||
newline = ""
|
||||
i = 0
|
||||
|
@ -29,7 +29,7 @@ include(generate_product_version)
|
||||
|
||||
set(VERSION_MAJOR 5)
|
||||
set(VERSION_MINOR 20)
|
||||
set(VERSION_PATCH 0)
|
||||
set(VERSION_PATCH 1)
|
||||
|
||||
add_library(pch pch.cpp)
|
||||
target_precompile_headers(pch PUBLIC pch.h)
|
||||
|
Loading…
x
Reference in New Issue
Block a user