From 3c6dd2824a443df2b00a8abfb5154db40b1bdbaa Mon Sep 17 00:00:00 2001
From: "Bradley M. Small" <bradley_small@hotmail.com>
Date: Wed, 2 Oct 2019 20:14:40 -0400
Subject: [PATCH] changing , to RS 0x1E to allow all normal printable
 characters

---
 main.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main.py b/main.py
index 668f7a1..01812b1 100755
--- a/main.py
+++ b/main.py
@@ -13,7 +13,7 @@ class Node:
 def serialize(node):
     """recursively parse tree creating a string"""
     if node:
-        return "%s,%s,%s" % (node.val,
+        return "%s%s%s" % (node.val,
                                serialize(node.left),
                                serialize(node.right))
     return 'None'
@@ -21,7 +21,7 @@ def serialize(node):
 
 def deserialize(string):
     """recursive deserialization using nested function"""
-    the_list = string.split(',')
+    the_list = string.split('')
     list_len = len(the_list)
     idx = 0
 
-- 
GitLab