made websockets able to run functions

This commit is contained in:
2025-02-08 20:18:00 +01:00
parent bf2e1e347f
commit b816c12a6c
9 changed files with 99 additions and 59 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ from printColors import PrintColors
def py_print(*args: str):
print(
PrintColors.FG.blue + "Py" + PrintColors.Special.reset,
PrintColors.FG.blue + "Py",
"-",
" ".join(args)
)
@@ -10,7 +10,7 @@ def py_print(*args: str):
def py_error(*args: str):
print(
PrintColors.BG.red + "ERROR" + PrintColors.Special.reset,
PrintColors.FG.blue + "Py" + PrintColors.Special.reset,
PrintColors.FG.blue + "Py",
"-",
" ".join(args)
)