Update UpdateMoose.py

This commit is contained in:
Frank
2023-12-24 03:43:25 +01:00
parent 6085efc966
commit 35065406ae

View File

@@ -25,7 +25,7 @@ def findMoose(path: Path):
def copyScripts(path: Path, topath):
# Loop over all lua files (recursively)
for f in path.rglob("*.lua"):
if not f.name.lower().startswith("moose") and not f.name.lower().endswith("msrs"):
if not (f.name.lower().startswith("moose") and f.name.lower().endswith("msrs")):
print(f"Found script: {f}")
copy(f, topath)