mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-24 02:27:52 -06:00
fix: skip quoted hashes in batocera item notes
This commit is contained in:
1 parent
23e3cc06b3
commit
83fdc97edd
2 files changed
+8
-1
No files matched your search
@@ -422,7 +422,8 @@ class Exporter(BaseExporter[str]):
|
||||
pending: list[str] = []
|
||||
for line in lines:
|
||||
stripped = line.strip()
|
||||
hash_at = line.find("#")
|
||||
cut = comment_start(line)
|
||||
hash_at = -1 if cut is None else cut
|
||||
if stripped.startswith("#"):
|
||||
pending.append(stripped)
|
||||
continue
|
||||
|
||||
Reference in new issue
Block a user