mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-28 05:34:14 -04:00
fix pull title not working
This commit is contained in:
parent
f18d92570e
commit
c9b3bab84d
2 changed files with 3 additions and 3 deletions
|
@ -63,10 +63,10 @@ def archive_link(link: Link, overwrite: bool=False, methods: Optional[Iterable[s
|
|||
|
||||
ARCHIVE_METHODS = get_default_archive_methods()
|
||||
|
||||
if methods is not None:
|
||||
if methods:
|
||||
ARCHIVE_METHODS = [
|
||||
method for method in ARCHIVE_METHODS
|
||||
if method[1] in methods
|
||||
if method[0] in methods
|
||||
]
|
||||
|
||||
out_dir = out_dir or link.link_dir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue