mirror of
https://github.com/karma-riuk/crab-webapp.git
synced 2025-07-04 22:08:12 +02:00
fixed slight bug
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user