Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JingQunCui committed Dec 5, 2023
1 parent eafca69 commit 9e63ed9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ACMAS/app/ACMAS_Web/ocr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()

0 comments on commit 9e63ed9

Please sign in to comment.