Skip to content

Commit

Permalink
Fix example checker
Browse files Browse the repository at this point in the history
  • Loading branch information
George V. Kouryachy (Fr. Br. George) committed Oct 23, 2023
1 parent 62b6fe0 commit 2532865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hworker/example/repo/teacher/first/check/no_import.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
def validator(solution):
for content in solution.content.values():
if "import" in content:
if b"import" in content:
return 0.0
return 1.0

0 comments on commit 2532865

Please sign in to comment.