Skip to content

Commit

Permalink
[latex] Prevent duplicate samples for interactive problems
Browse files Browse the repository at this point in the history
  • Loading branch information
mpsijm committed Mar 25, 2024
1 parent dfca194 commit 2b7dcf9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions bin/latex.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ def create_samples_file(problem, language):
if samples is False:
samples = []

# Modify a copied list, to not break the cache.
samples = samples.copy()

# For interactive problems, find all .interaction files instead.
samples += glob(problem.path / 'data' / 'sample', '*.interaction')
samples_file_path = builddir / 'samples.tex'

if samples is []:
Expand Down

0 comments on commit 2b7dcf9

Please sign in to comment.