Skip to content

Commit f6e6694

Browse files
authored
Add files via upload
1 parent ce2538d commit f6e6694

2 files changed

Lines changed: 2 additions & 13 deletions

File tree

pyautosrt/__init__.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import threading
2424
from threading import Timer, Thread
2525
import PySimpleGUI as sg
26-
import asyncio
2726
import httpx
2827
from glob import glob
2928
#import warnings
@@ -789,7 +788,7 @@ def main():
789788
parser.add_argument('-S', '--src-language', help="Voice language", default="en")
790789
parser.add_argument('-D', '--dst-language', help="Desired language for translation", default="en")
791790
parser.add_argument('-F', '--format', help="Destination subtitle format", default="srt")
792-
parser.add_argument('-v', '--version', action='version', version='0.1.0')
791+
parser.add_argument('-v', '--version', action='version', version='0.1.1')
793792
parser.add_argument('-lf', '--list-formats', help="List all available subtitle formats", action='store_true')
794793
parser.add_argument('-ll', '--list-languages', help="List all available source/translation languages", action='store_true')
795794

@@ -919,16 +918,6 @@ def main():
919918
else:
920919
break
921920

922-
elif event == '-INPUT-':
923-
if values[0]:
924-
filelist += values[0].split(';')
925-
for file in filelist:
926-
if os.path.isfile(file):
927-
filepath = os.path.join(os.getcwd(), file)
928-
else:
929-
filepath = None
930-
main_window['-OUTPUT-MESSAGES-'].update('File path you typed is not exist, please browse it\n\n')
931-
932921
elif event == '-SRC-':
933922
src = map_code_of_language[str(main_window['-SRC-'].get())]
934923
dst = map_code_of_language[str(main_window['-DST-'].get())]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
setup(
2020
name="pyautosrt",
21-
version="0.1.0",
21+
version="0.1.1",
2222
description="pyautosrt is a python based desktop app to generate subtitle and translated subtitle file",
2323
long_description = long_description,
2424
author="Bot Bahlul",

0 commit comments

Comments
 (0)