Explorar o código

fix syntax errors (#1609)

Nick Sweeting hai 1 ano
pai
achega
a572db307b

+ 1 - 2
archivebox/extractors/extractor.py

@@ -194,7 +194,6 @@ class Extractor:
                 self.archiveresult.outputs.append({
                     'type': 'PDF',
                     'path': file.relative_to(cwd),
-                    ''
                 })
                 
             if 'text/plain' in mimetypes.guess_type(file):
@@ -217,4 +216,4 @@ class Extractor:
         self.archiveresult.output = self.archiveresult.outputs[0].path
         self.archiveresult.save()
         self.archiveresult.write_indexes()
-    
+    

+ 1 - 1
archivebox/pkgs/abx-plugin-title/abx_plugin_title/extractor.py

@@ -7,7 +7,7 @@ from typing import Optional
 
 from archivebox.index.schema import Link, ArchiveResult, ArchiveOutput, ArchiveError
 from archivebox.misc.logging_util import TimedProgress
-from archivebox.misc.util import enforce_types, download_url, htmldecode, dedupe)
+from archivebox.misc.util import enforce_types, download_url, htmldecode, dedupe
 
 from abx_plugin_curl.config import CURL_CONFIG
 from abx_plugin_curl.binaries import CURL_BINARY