1
0
mirror of https://github.com/MarkParker5/STARK.git synced 2024-11-24 08:12:13 +02:00

small changes

This commit is contained in:
MarkParker5 2020-11-06 13:51:05 +02:00
parent d54eac5cc0
commit cebdbb0471
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,7 @@
import pathlib
path = str(pathlib.Path(__file__).parent.absolute())
del pathlib
telebot = '12345678:token'
goole_tts_json_key = 'google-cloud-text-to-speech-private-key.json'

View File

@ -10,9 +10,7 @@ modules = {
for name, module in modules.items():
try:
print(f'launching the {name}')
# os.system(f'sudo chmod +x {config.path}/{module}.py')
# os.system(f'nohup {config.path}/{module}.py &')
os.system(f'lxterminal --command="python {config.path}/{module}.py"')
os.system(f'lxterminal --command="python3.8 {config.path}/{module}.py"')
except:
print(f'[error]\t{name} launch failed')