core: fix non-determinism in resources.py.mako

pull/1173/head
Pavol Rusnak 4 years ago
parent 4029fc1e1c
commit 65805c9145
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -14,7 +14,7 @@ PATTERNS = (
"apps/*/res/**/*.toif",
)
resfiles = chain.from_iterable(SRCDIR.glob(p) for p in PATTERNS)
resfiles = chain.from_iterable(sorted(SRCDIR.glob(p)) for p in PATTERNS)
%>\
def load_resource(name: str) -> bytes:

Loading…
Cancel
Save