Codefix: [CI] file descriptions checker crashed when file was removed/renamed.

This commit is contained in:
Cyprian Klimaszewski
2026-02-21 19:46:54 +01:00
committed by rubidium42
parent f1390b9cf8
commit 7f66f87af4
+2
View File
@@ -31,6 +31,8 @@ def check_descriptions(files):
continue
if path.find("3rdparty") != -1 or path.find("lang") != -1:
continue
if not os.path.isfile(path):
continue
name = path[path.rfind("/") + 1 :]
while True:
extension = name[name.rfind('.') + 1 :]