diff --git a/core/app.py b/core/app.py index 051961f..9ef69cb 100644 --- a/core/app.py +++ b/core/app.py @@ -20,6 +20,8 @@ def _parse(data, dtype): if dtype == 'str': if data.startswith('"') and data.endswith('"'): value = data[1:-1].replace('\\"', '"') + elif data.startswith('\'') and data.endswith('\''): + value = data[1:-1].replace('\\\'', '\'') else: raise RuntimeError