mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
core: fix non-determinism in resources.py.mako
This commit is contained in:
parent
4029fc1e1c
commit
65805c9145
@ -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…
Reference in New Issue
Block a user