mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
parent
40748a91ba
commit
06b18fe94a
|
@ -6,7 +6,7 @@ logger = logging.getLogger('WineHelpers')
|
||||||
|
|
||||||
|
|
||||||
def read_registry(wine_pfx):
|
def read_registry(wine_pfx):
|
||||||
reg = configparser.ConfigParser(comment_prefixes=(';', '#', '/', 'WINE'), allow_no_value=True)
|
reg = configparser.ConfigParser(comment_prefixes=(';', '#', '/', 'WINE'), allow_no_value=True, strict=False)
|
||||||
reg.optionxform = str
|
reg.optionxform = str
|
||||||
reg.read(os.path.join(wine_pfx, 'user.reg'))
|
reg.read(os.path.join(wine_pfx, 'user.reg'))
|
||||||
return reg
|
return reg
|
||||||
|
|
Loading…
Reference in a new issue