mirror of
https://github.com/lutris/lutris
synced 2024-10-02 22:14:23 +00:00
Limit splits to 2 elements when reading libretro config (Closes #1737)
This commit is contained in:
parent
6dae319d77
commit
e0d183bea9
|
@ -18,7 +18,7 @@ class RetroConfig:
|
|||
line = line.strip()
|
||||
if line == "" or line.startswith('#'):
|
||||
continue
|
||||
key, value = line.split("=")
|
||||
key, value = line.split("=", 1)
|
||||
key = key.strip()
|
||||
value = value.strip().strip('"')
|
||||
if not key or not value:
|
||||
|
|
Loading…
Reference in a new issue