Skip to content

Commit

Permalink
Clean up double qoutes left from conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
eemperor committed Aug 2, 2024
1 parent cdc1eea commit 0cdf10b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ash-windows/tools/convert-lgpo-policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def _convert_secedit(src):
policy["key"] = line.split("=")[0].strip()
policy["vtype"] = REG_CODE_MAP[line.split("=")[1].split(",")[0].strip()]
policy["value"] = (
"".join(line.split("=")[1].split(",")[1:]).strip().strip('"')
"".join(line.split("=")[1].split(",")[1:]).strip().strip('"').replace('""','')
)
if not policy["vtype"].upper() in REG_TYPES:
print(
Expand Down

0 comments on commit 0cdf10b

Please sign in to comment.