chore: noqa S701

chore: noqa S701

chore: noqa S701
This commit is contained in:
Joe 2024-09-12 17:08:02 +08:00
parent 619eeec9b1
commit 6221ae4d38
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class WordExtractor(BaseExtractor):
self.web_path = self.file_path
# TODO: use a better way to handle the file
self.temp_file = tempfile.NamedTemporaryFile()
self.temp_file = tempfile.NamedTemporaryFile() # S701
self.temp_file.write(r.content)
self.file_path = self.temp_file.name
elif not os.path.isfile(self.file_path):