From 2c41e377ab7257f879840abca9305fd25c274100 Mon Sep 17 00:00:00 2001 From: Diego Roversi Date: Sat, 23 May 2020 10:05:51 +0200 Subject: more string to bytearray conversion --- bubbob/levels/RandomLevels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bubbob/levels') diff --git a/bubbob/levels/RandomLevels.py b/bubbob/levels/RandomLevels.py index 16cc5ef..13256d0 100644 --- a/bubbob/levels/RandomLevels.py +++ b/bubbob/levels/RandomLevels.py @@ -358,5 +358,5 @@ if __name__ == '__main__': print(s.__dict__) else: rnglevel = {} - exec(compile(open('levels/rnglevel.py', "rb").read(), 'levels/rnglevel.py', 'exec'), rnglevel) + exec(compile(open('levels/rnglevel.py', "r").read(), 'levels/rnglevel.py', 'exec'), rnglevel) RandomLevel = rnglevel['RandomLevel'] -- cgit v1.2.3