mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-20 18:59:07 -05:00
fix: compare md5 when keeping Recalbox text
The attribute pattern took letters only, so md5 never entered the comparison and an element whose digest the truth corrects kept Recalbox's text. A test written before the change caught it. The RetroDECK fixture now names the core that reads its addition, as the placement rule requires.
This commit is contained in:
1 parent
c5fd079b78
commit
19a7128ec6
2 files changed
+3
-2
No files matched your search
@@ -35,7 +35,7 @@ SCHEMA_URL = (
|
||||
)
|
||||
|
||||
|
||||
_ATTRIBUTE = re.compile(r'([A-Za-z]+)\s*=\s*"([^"]*)"')
|
||||
_ATTRIBUTE = re.compile(r'([A-Za-z][A-Za-z0-9]*)\s*=\s*"([^"]*)"')
|
||||
_SYSTEM_BLOCK = re.compile(r"<system\b.*?</system>", re.S)
|
||||
_BIOS_ELEMENT = re.compile(r"[ \t]*<bios\b.*?/>", re.S)
|
||||
|
||||
|
||||
Reference in new issue
Block a user