mirror of
https://github.com/karma-riuk/crab-webapp.git
synced 2025-07-05 14:18:12 +02:00
fixed slight bug
This commit is contained in:
@ -65,7 +65,7 @@ class Subject:
|
|||||||
os.remove(file_path)
|
os.remove(file_path)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
_, type_, _ = file.split("_")
|
_, type_, *_ = file.split("_")
|
||||||
with open(file_path, "r") as f:
|
with open(file_path, "r") as f:
|
||||||
subject = Subject(
|
subject = Subject(
|
||||||
type_, lambda: None, id=file, status=Status.COMPLETE, results=json.load(f)
|
type_, lambda: None, id=file, status=Status.COMPLETE, results=json.load(f)
|
||||||
|
Reference in New Issue
Block a user