Skip to content

Commit

Permalink
Only print "processing .. results" if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Mar 18, 2024
1 parent c61d5af commit dfb865b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/api/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ def export(filepath: str):

def _export(filepath: str, print_completed: bool):
results = _res_cache.get_all_results()
print(f"Processing {len(results)} result(s)")

if print_completed:
print(f"Processing {len(results)} result(s)")

# Round and convert to LaTeX commands
lines = [
Expand Down

0 comments on commit dfb865b

Please sign in to comment.