diff --git a/README.md b/README.md index 99a5384..08d6785 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Paper Challenge +# Steel Training - Projekt powstał na potrzeby treningu Steel Challenge w domowym zaciszu - Ostrzeżenie: Od ponad 11 lat pracuję z PHP, więc mogą być widoczne naleciałości! Ten projekt to moje pierwsze... no może drugie kroki w Pythonie. ### Kopiowanie, rozpowszechnianie, modyfikowanie i udostępnianie na potrzeby własne, klubowe lub dla kolegi, stanowczo zalecane diff --git a/app.py b/app.py index 7ab2676..f2c56e6 100644 --- a/app.py +++ b/app.py @@ -178,7 +178,7 @@ def generate_pdf(): pdf_file = io.BytesIO() HTML(string=rendered_html).write_pdf(pdf_file) pdf_file.seek(0) - filename = 'Paper Challenge - ' + stage.replace('_', ' ') + ' - ' + str(distance) + 'cm-' + size + '.pdf' + filename = 'Steel Training - ' + stage.replace('_', ' ') + ' - ' + str(distance) + 'cm-' + size + '.pdf' return send_file(pdf_file, download_name=filename, as_attachment=False) @@ -218,7 +218,7 @@ def generate_pdf_shootoff(): pdf_file = io.BytesIO() HTML(string=rendered_html).write_pdf(pdf_file) pdf_file.seek(0) - filename = 'Paper Challenge - Shootoff - ' + str(distance) + 'cm-' + size + '.pdf' + filename = 'Steel Training - Shootoff - ' + str(distance) + 'cm-' + size + '.pdf' return send_file(pdf_file, download_name=filename, as_attachment=False) @@ -260,7 +260,7 @@ def generate_pdf_ipsc(): pdf_file = io.BytesIO() HTML(string=rendered_html).write_pdf(pdf_file) pdf_file.seek(0) - filename = 'Paper Challenge - IPSC - EL Presidente - ' + str(distance) + 'cm-' + size + '.pdf' + filename = 'Steel Training - IPSC - EL Presidente - ' + str(distance) + 'cm-' + size + '.pdf' return send_file(pdf_file, download_name=filename, as_attachment=False) diff --git a/templates/base.html b/templates/base.html index 2572585..18a5348 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,7 +3,7 @@
-