Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
MasloMaslane committed Nov 17, 2023
1 parent 1cea61a commit 5c53b32
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/sinol_make/helpers/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,5 @@ def check_correct_solution(task_id: str):
except FileNotFoundError:
return

if has_file_changed(solution):
if os.path.exists(os.path.join(os.getcwd(), 'in', '.md5sums')):
os.unlink(os.path.join(os.getcwd(), 'in', '.md5sums'))
if has_file_changed(solution) and os.path.exists(os.path.join(os.getcwd(), 'in', '.md5sums')):
os.unlink(os.path.join(os.getcwd(), 'in', '.md5sums'))

0 comments on commit 5c53b32

Please sign in to comment.