Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Commit

Permalink
nah the locals arent done yet
Browse files Browse the repository at this point in the history
  • Loading branch information
Sectonid committed Oct 17, 2023
1 parent ca65b8c commit 787684d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions SCL.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def grscb(text: str):
grscb(f" RAM: {used_memory}/{total_memory} MB")
grscb(f" Python: {platform.python_version()}")
grscb(" Authors: Secton")
grscb(" SCL Version: 2.7, 2023, 12 Oct.")
grscb(" SCL Version: 2.9, 2023, 17 Oct.")
grscb(" Thanks for your interest in SCL!")
for color in termcolor.COLORS:
print(colored("█", color), end="", flush=True)
Expand Down Expand Up @@ -200,7 +200,7 @@ def execscript():


if len(sys.argv) > 1:
print("Проверяем СКЛипт на проблемы с безопасностью...")
print(locals.def_locale[17])
dFileInsides = open(sys.argv[1], "r")
for line in dFileInsides:
if line.startswith("py "):
Expand Down
3 changes: 2 additions & 1 deletion locals.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"Auto-Clear mode disabled.", #14
"Check the variable's name!", #15 this isnt what you think it is
"This command does not exist.", #16 Command got typed wrong.
"Welcome to SCL!" #17 App startup
"Welcome to SCL!", #17 App startup
"Checking SCLipt for security issues..." #18 File drag-n-dropped into SCL
]

def_locale: list = globals()[default_lang + "_locale"]

0 comments on commit 787684d

Please sign in to comment.