diff options
author | Ryan <fauxpark@gmail.com> | 2022-08-29 04:35:17 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-28 19:35:17 +0100 |
commit | 3adaf6a46ae6bac75997e9f2d2e97f550f1c8e87 (patch) | |
tree | 9ed0b9b6b70b01a8807fca9a8af9a52e167e6944 /lib/python/qmk/info.py | |
parent | ac33b7b0b3ed6a7679bdc9c0edc88f5e0f832332 (diff) |
Handle escaping of manufacturer/product strings (#18194)
Diffstat (limited to 'lib/python/qmk/info.py')
-rw-r--r-- | lib/python/qmk/info.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py index c95b55916c..e0a46e7ed1 100644 --- a/lib/python/qmk/info.py +++ b/lib/python/qmk/info.py @@ -479,7 +479,7 @@ def _config_to_json(key_type, config_value): return int(config_value) elif key_type == 'str': - return config_value.strip('"') + return config_value.strip('"').replace('\\"', '"').replace('\\\\', '\\') elif key_type == 'bcd_version': major = int(config_value[2:4]) |