Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo fix for languages #68

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions subtitle-downloader/subtitle_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def get_from_subscene(file_path, language):


@click.command(context_settings=dict(max_content_width=80))
@click.option("download_all", "--all", "-a", is_flag=True,
@click.option("download_all", "--all", "-a", is_flag=True,
help="""Download subtitles in all available languages (nullifies '-i' or '-l')

If subtitles cannot be found in a particular language, the download for that language will fail silently unless the verbose option is specified.
Expand Down Expand Up @@ -219,7 +219,7 @@ def main(download_all, iso, language, list_languages, verbose, input_path):

languages = []
if download_all:
langauges = LANGUAGE_CODES.keys()
languages = LANGUAGE_CODES.keys()
else:
if iso not in LANGUAGE_CODES.values():
click.echo("Error: language code '" + iso + "' is unsupported.\n\nFor"
Expand Down