diff --git a/.scripts/UpdateMoose.py b/.scripts/UpdateMoose.py index f8bfde8da6..033674559d 100644 --- a/.scripts/UpdateMoose.py +++ b/.scripts/UpdateMoose.py @@ -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)