Merge pull request 'fix(levels): time is not defined' (#5) from n3tael/p3he:main into main

Reviewed-on: bedohswe/p3he#5
This commit is contained in:
bʰedoh₂ swé 2024-04-04 19:21:39 +00:00
commit 371491a607

View File

@ -1,4 +1,6 @@
from os import makedirs from os import makedirs
from time import time
class Segment: class Segment:
def __init__(self,bA,cA,cB,trColor): def __init__(self,bA,cA,cB,trColor):
self.isFinite = bA self.isFinite = bA
@ -47,7 +49,7 @@ def save_level(level):
def open_level(path): def open_level(path):
save = open(path, "r") save = open(path, "r")
r = save.read() r = save.read()
save.close() save.close()
return r return r