Commit
·
cc0677b
1
Parent(s):
0546775
fix version
Browse files
build-generate-subtitles.py
CHANGED
@@ -46,7 +46,10 @@ def get_all_files(d_list: List[str], suffix: str) -> List[str]:
|
|
46 |
for f in files:
|
47 |
if f.endswith(suffix):
|
48 |
major, minor, patch = list(map(int, f.split("-")[2].split(".")))
|
49 |
-
if
|
|
|
|
|
|
|
50 |
ss.append(os.path.join(root, f))
|
51 |
|
52 |
ans = sorted(ss, key=sort_by_app, reverse=True)
|
|
|
46 |
for f in files:
|
47 |
if f.endswith(suffix):
|
48 |
major, minor, patch = list(map(int, f.split("-")[2].split(".")))
|
49 |
+
if (
|
50 |
+
major * 100000 + minor * 10000 + patch * 10
|
51 |
+
> min_major * 100000 + min_minor * 10000 + min_patch * 10
|
52 |
+
):
|
53 |
ss.append(os.path.join(root, f))
|
54 |
|
55 |
ans = sorted(ss, key=sort_by_app, reverse=True)
|