fix(levels): time is not defined #5

Merged
bedohswe merged 2 commits from n3tael/p3he:main into main 2024-04-04 19:21:39 +00:00

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