mirror of
https://github.com/MarkParker5/STARK.git
synced 2024-11-24 08:12:13 +02:00
small changes
This commit is contained in:
parent
d54eac5cc0
commit
cebdbb0471
@ -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'
|
||||
|
||||
|
4
main.py
4
main.py
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user