Skip to content

Commit

Permalink
Fix typo in disable_metadata_checks arg in playlist mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-niles authored and benoit74 committed May 22, 2024
1 parent dce4fd8 commit 4ec1e1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/youtube2zim/playlists/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def run_playlist_zim(self, playlist):
args.append("--debug")

if self.disable_metadata_checks:
args.append("--disable-metadatachecks")
args.append("--disable-metadata-checks")

# set metadata args for playlist
metadata = self.metadata.get(playlist_id, {})
Expand Down Expand Up @@ -192,7 +192,7 @@ def handle_single_zim(self):
args.append("--debug")

if self.disable_metadata_checks:
args.append("--disable-metadatachecks")
args.append("--disable-metadata-checks")

return subprocess.run(args).returncode # noqa: PLW1510

Expand Down

0 comments on commit 4ec1e1d

Please sign in to comment.