Исключаем модули с двумя минусами в имени из сборки

This commit is contained in:
2022-05-16 21:30:20 +03:00
parent 1d782fd0d7
commit 879a67de6f

View File

@@ -15,7 +15,7 @@ allAPI_exec = ""
def getDirs(path):
for file in os.listdir(path):
if os.path.isdir(os.path.join(path, file)):
if os.path.isdir(os.path.join(path, file)) and not("--" in file):
yield file