mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-10 13:33:24 -05:00
fix: move a ref only on a hash found elsewhere
This commit is contained in:
1 parent
cdecb096a1
commit
5bf25d1964
2 files changed
+13
-2
No files matched your search
@@ -1183,8 +1183,8 @@ def verify_at_pin(part: RefPart, pin_lines, tokens, hash_tokens=()) -> PartResul
|
||||
{
|
||||
index
|
||||
for index, line in enumerate(pin_lines, 1)
|
||||
for token in tokens
|
||||
if token in line.lower()
|
||||
for token in hash_tokens
|
||||
if token.lower() in line.lower()
|
||||
}
|
||||
)
|
||||
if not elsewhere:
|
||||
|
||||
Reference in new issue
Block a user