mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-21 02:15:10 -04:00
fix syntax errors
This commit is contained in:
parent
d192eb5c48
commit
f1b9aec873
2 changed files with 2 additions and 3 deletions
|
@ -194,7 +194,6 @@ class Extractor:
|
||||||
self.archiveresult.outputs.append({
|
self.archiveresult.outputs.append({
|
||||||
'type': 'PDF',
|
'type': 'PDF',
|
||||||
'path': file.relative_to(cwd),
|
'path': file.relative_to(cwd),
|
||||||
''
|
|
||||||
})
|
})
|
||||||
|
|
||||||
if 'text/plain' in mimetypes.guess_type(file):
|
if 'text/plain' in mimetypes.guess_type(file):
|
||||||
|
|
|
@ -7,7 +7,7 @@ from typing import Optional
|
||||||
|
|
||||||
from archivebox.index.schema import Link, ArchiveResult, ArchiveOutput, ArchiveError
|
from archivebox.index.schema import Link, ArchiveResult, ArchiveOutput, ArchiveError
|
||||||
from archivebox.misc.logging_util import TimedProgress
|
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.config import CURL_CONFIG
|
||||||
from abx_plugin_curl.binaries import CURL_BINARY
|
from abx_plugin_curl.binaries import CURL_BINARY
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue