+6
kill-processes
+6
kill-processes
···
23
23
import marvin
24
24
import hashlib
25
25
import json
26
+
import asyncio
26
27
from pathlib import Path
27
28
from cachetools import TTLCache
28
29
from textual.app import App, ComposeResult
···
349
350
350
351
351
352
if __name__ == "__main__":
353
+
try:
354
+
loop = asyncio.get_event_loop()
355
+
except RuntimeError:
356
+
loop = asyncio.new_event_loop()
357
+
asyncio.set_event_loop(loop)
352
358
ProcessTUI().run()