summaryrefslogtreecommitdiff
path: root/bubbob/levels/RandomLevels.py
diff options
context:
space:
mode:
authorDiego Roversi <diegor@tiscali.it>2020-05-23 10:05:51 +0200
committerDiego Roversi <diegor@tiscali.it>2020-05-23 10:05:51 +0200
commit2c41e377ab7257f879840abca9305fd25c274100 (patch)
treee0760281aff75f297aae75474fda0224edff206c /bubbob/levels/RandomLevels.py
parent81c86067960952f0ec87a035ce060da584e05df3 (diff)
more string to bytearray conversion
Diffstat (limited to 'bubbob/levels/RandomLevels.py')
-rw-r--r--bubbob/levels/RandomLevels.py2
1 files changed, 1 insertions, 1 deletions
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']