From 1025b5402b35ad1bcf4f184e8bb05ab39c3df6cb Mon Sep 17 00:00:00 2001 From: Joe R Date: Sun, 23 May 2021 15:38:04 -0400 Subject: [PATCH] Minor wizard utility cleanup. --- pysollib/wizardutil.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pysollib/wizardutil.py b/pysollib/wizardutil.py index 1a558ec0..b94dcf29 100644 --- a/pysollib/wizardutil.py +++ b/pysollib/wizardutil.py @@ -433,10 +433,8 @@ class MyCustomGame(CustomGame): v = v.replace("\r", "\\r") v = v.replace("\t", "\\t") # See: https://github.com/shlomif/PySolFC/issues/177 - DISABLE_DUE_TO_GH177 = False - if DISABLE_DUE_TO_GH177: - if isinstance(v, six.text_type): - v = v.encode('utf-8') + # if isinstance(v, six.text_type): + # v = v.encode('utf-8') if not v: v = 'Invalid Game Name' fd.write(" '{}': '{}',\n".format(w.var_name, v))