fixed slight bug

This commit is contained in:
Karma Riuk
2025-05-21 11:27:07 +02:00
parent 276487f91a
commit e4636cdaea

View File

@ -65,7 +65,7 @@ class Subject:
os.remove(file_path)
continue
_, type_, _ = file.split("_")
_, type_, *_ = file.split("_")
with open(file_path, "r") as f:
subject = Subject(
type_, lambda: None, id=file, status=Status.COMPLETE, results=json.load(f)