Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
botbahlul authored Apr 15, 2023
1 parent aa4594f commit 23af8a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyautosrt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ def main():
parser.add_argument('-S', '--src-language', help="Voice language", default="en")
parser.add_argument('-D', '--dst-language', help="Desired language for translation", default="en")
parser.add_argument('-F', '--format', help="Destination subtitle format", default="srt")
parser.add_argument('-v', '--version', action='version', version='0.1.6')
parser.add_argument('-v', '--version', action='version', version='0.1.7')
parser.add_argument('-lf', '--list-formats', help="List all available subtitle formats", action='store_true')
parser.add_argument('-ll', '--list-languages', help="List all available source/translation languages", action='store_true')

Expand Down Expand Up @@ -901,7 +901,7 @@ def main():
main_window['-INPUT-'].update(filepath)
else:
main_window['-INPUT-'].update('')
main_window['-ML1-'].update('File path you typed is not exist, please browse it\n\n')
main_window['-OUTPUT-MESSAGES-'].update('File path you typed is not exist, please browse it\n\n')

if args.src_language:
if args.src_language not in map_language_of_code.keys():
Expand Down

0 comments on commit 23af8a6

Please sign in to comment.