From 9e63ed92415bfc5b931187535f75ea8ffb006bbb Mon Sep 17 00:00:00 2001 From: JQCBozz <70922527+JingQunCui@users.noreply.github.com> Date: Tue, 5 Dec 2023 16:47:26 -0500 Subject: [PATCH] linter fix --- ACMAS/app/ACMAS_Web/ocr.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ACMAS/app/ACMAS_Web/ocr.py b/ACMAS/app/ACMAS_Web/ocr.py index 31dbcc8..8f0c773 100644 --- a/ACMAS/app/ACMAS_Web/ocr.py +++ b/ACMAS/app/ACMAS_Web/ocr.py @@ -7,7 +7,6 @@ from .models import Course, UploadedFile - """ OCR File Creation Pipeline: - When a file is uploaded to the filesystem, conduct OCR to extract and create text file @@ -42,6 +41,6 @@ def extract_text_from_pdf(self, fType, course, fileName, fileUrl): file_dir=txt_file_path, course=Course.objects.get(name=course), date_uploaded=date.today, - flag=fType + flag=fType, ) uploaded_file.save()