mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-28 08:26:27 +02:00
Fix XML reading; update images.
This commit is contained in:
parent
7bfbf32697
commit
50191f63d1
7 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ def get_value(key: str, text: str):
|
|||
if key + '="' in text:
|
||||
start_index: int = text.find(key + '="') + 2
|
||||
end_index: int = start_index + len(key)
|
||||
value = text[end_index:text.find('"', end_index + 2)]
|
||||
value = text[end_index:text.find('"', end_index)]
|
||||
return value
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue