Initial commit - fix problems & refactor code

This commit is contained in:
2025-12-22 19:10:46 +03:00
commit ff36917cb5
39 changed files with 1499 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
from core.environment import IGNORE
def cleanString(s: str, ignore: str = IGNORE) -> str:
s = s.lstrip(ignore)
while s and s[0] == ';':
line_end: int = s.find('\n')
if line_end < 0:
return ''
s = s[line_end:].lstrip(ignore)
return s