Modifications

This commit is contained in:
Jeison Yehuda Amihud (Blender Dumbass) 2021-01-02 23:38:44 +00:00
parent 9c9cd8e1be
commit f6cf881283

View file

@ -235,9 +235,7 @@ def modules_test(Modules, title, setting):
print("\033[1;m")
if not settings.read("Python-is-good"):
Modules = {
Modules = {
"os":None,
"gi":None,
"gi.repository.Gtk":None,
@ -256,13 +254,11 @@ if not settings.read("Python-is-good"):
"threading":None
}
modules_test(Modules, "checkingpythonmodules", "Python-is-good")
modules_test(Modules, "checkingpythonmodules", "Python-is-good")
if not settings.read("VCStudio-is-good"):
missing = []
missing = []
try:
try:
# Let's get the list of files that supposed to be in here.
@ -295,7 +291,7 @@ if not settings.read("VCStudio-is-good"):
test = test.read()
if f.endswith(".py") and not "import bpy" in test\
and "-" not in f and f != "run.py":
and "-" not in f and f != "run.py" and not "network" in f:
Modules[f.replace("/", ".")[:-3]] = None
num += 1
except:
@ -304,13 +300,13 @@ if not settings.read("VCStudio-is-good"):
modules_test(Modules, "checkingpartsoftheprogramm", "VCStudio-is-good")
except:
except:
i = "settings/update.data"
ans = i + " "*int(w/2-len(i)) + talk.text("failed")
output("\033[1;41m", " "+ans)
for i in missing:
for i in missing:
ans = i + " "*int(w/2-len(i)) + talk.text("failed")
output("\033[1;41m", " "+ans)