improved LVID extraction; added some docstrings

This commit is contained in:
Marcel Gansfusz
2025-07-12 14:47:22 +02:00
parent ac16b1ea7b
commit d6d3f46c78
3 changed files with 14 additions and 1 deletions

View File

@@ -78,7 +78,8 @@ def get_dirstruct():
if lvid is None:
continue
lvid = lvid.group()[:3] + lvid.group()[4:]
name = fname[:-8]
# name = fname[:-8]
name = re.sub(r"[a-zA-Z0-9]{3}\.[a-zA-Z0-9]{3}", "", fname)
# print(name)
# print(lvid)
cur = db.cursor()