diff --git a/.gitignore b/.gitignore index fe210c0..dfce359 100644 --- a/.gitignore +++ b/.gitignore @@ -365,3 +365,4 @@ FodyWeavers.xsd db.sqlite3 +/mycaldav/export.pdf diff --git a/mycaldav/views.py b/mycaldav/views.py index 3a9c1ab..f551973 100644 --- a/mycaldav/views.py +++ b/mycaldav/views.py @@ -76,6 +76,6 @@ def view_team_pdf_caldav(request): myClient = cls_caldav_client() render_pdf(o_caldav, caldavClient=myClient, date=start) - return FileResponse(open('test.pdf', 'rb'), as_attachment=False, content_type='application/pdf') + return FileResponse(open('mycaldav/export.pdf', 'rb'), as_attachment=False, content_type='application/pdf')