2021.4 #19

Merged
edraft merged 237 commits from 2021.4 into master 2021-04-01 10:13:33 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit dbb0a4a2df - Show all commits

View File

@ -48,7 +48,7 @@ class LiveServerService(ServiceABC, FileSystemEventHandler):
for proc in psutil.process_iter(): for proc in psutil.process_iter():
with suppress(Exception): with suppress(Exception):
if proc.cmdline() == self._ls_thread.command: if proc.cmdline() == self._ls_thread.command:
os.system(f'pkill -f {self._ls_thread.main}') proc.kill()
Console.write_line('Restart\n') Console.write_line('Restart\n')
while self._ls_thread.is_alive(): while self._ls_thread.is_alive():

View File

@ -6,7 +6,7 @@ from cpl.console import Console
class TestModel: class TestModel:
def __init__(self): def __init__(self):
Console.spinner('Waiting: ', self._wait, 3) Console.spinner('Waiting: ', self._wait, 10)
option = Console.select('->', 'Select option: ', [ option = Console.select('->', 'Select option: ', [
'Option 1', 'Option 1',
'Option 2', 'Option 2',