Skip to content

Commit 2000ef6

Browse files
Update Filesystem example
1 parent 93c6bda commit 2000ef6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -346,11 +346,9 @@ submission = Submission(
346346
)
347347

348348
result = judge0.run(submissions=submission)
349-
fs = Filesystem(content=result.post_execution_filesystem)
350-
351349
print(result.stdout)
352350

353-
matches = [f for f in fs if f.name == "my_dir2/my_file2.txt"]
351+
matches = [f for f in result.post_execution_filesystem if f.name == "my_dir2/my_file2.txt"]
354352
f = matches[0] if matches else None
355353
print(f)
356354
```

0 commit comments

Comments
 (0)