mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
Remove unnecessary variable length args for dedupe
This commit is contained in:
parent
d74ddd42ae
commit
d8cf09c21e
8 changed files with 9 additions and 9 deletions
|
@ -287,7 +287,7 @@ def chrome_args(**options) -> List[str]:
|
|||
cmd_args.append('--user-data-dir={}'.format(options['CHROME_USER_DATA_DIR']))
|
||||
|
||||
|
||||
return dedupe(*cmd_args)
|
||||
return dedupe(cmd_args)
|
||||
|
||||
def chrome_cleanup():
|
||||
"""
|
||||
|
@ -325,7 +325,7 @@ def ansi_to_html(text):
|
|||
|
||||
|
||||
@enforce_types
|
||||
def dedupe(*options: str) -> List[str]:
|
||||
def dedupe(options: List[str]) -> List[str]:
|
||||
"""
|
||||
Deduplicates the given options. Options that come later clobber earlier
|
||||
conflicting options.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue