From ea5ed53b5a9085272fb7bdc6eb2097059eef1277 Mon Sep 17 00:00:00 2001 From: luk3yx Date: Tue, 21 Jul 2020 15:20:26 +1200 Subject: [PATCH] Bugfix --- lua_dump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua_dump.py b/lua_dump.py index d2f2eb2..530e3c3 100644 --- a/lua_dump.py +++ b/lua_dump.py @@ -35,7 +35,7 @@ def _escape_string(x): yield r'\"' elif char == 0x5c: yield r'\\' - elif 0x7f > char > 0x19: + elif 0x7f > char > 0x1f: yield chr(char) else: yield '\\' + str(char).zfill(3)