diff --git a/trans/utils/print_job_queue.py b/trans/utils/print_job_queue.py index 719ab73d..da2dc0b0 100644 --- a/trans/utils/print_job_queue.py +++ b/trans/utils/print_job_queue.py @@ -63,7 +63,7 @@ def add_completed_dependency_pdf(contest_slug, extra_country_code, count): merged_pdf_path = os.path.join( 'media', 'merged', contest_slug, - f'{language_code}_{country_code2}-merged.pdf') + f'{user.language_code}-merged.pdf') if os.path.isfile(merged_pdf_path): file_paths_with_counts[merged_pdf_path] += count else: