Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Commit

Permalink
Correcting Fatal Error in DOCX Downloading Functionality.
Browse files Browse the repository at this point in the history
[FIX] AutoQPGen :: /models/DocxDownloader.py :: Corrected the path to 10-10 Question Paper Template which caused all DOCX Download attempts to fail.
  • Loading branch information
azuregray committed Feb 11, 2025
1 parent 2481bc7 commit 2a83dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/DocxDownloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def docxSaver(paperData):
courseCode = paperDataDictionary['courseCode']
uniqueNameFactor = paperDataDictionary['paperId']

templatePath = './static/DocxTemplates/QuestionPaperTemplate_10_5.docx'
templatePath = './static/DocxTemplates/QuestionPaperTemplate_10_10.docx'
questionPaperPreName = courseCode + "__" + uniqueNameFactor + ".docx"
questionPaperPreOutputPath = './static/GeneratedDocx/' + questionPaperPreName

Expand Down

0 comments on commit 2a83dc2

Please sign in to comment.