stop ruff from barking
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from untitled import model
|
||||
import os
|
||||
import json
|
||||
import os
|
||||
|
||||
from untitled import model
|
||||
|
||||
SAVE_FOLDER = os.path.join("untitled", "saves")
|
||||
|
||||
@@ -21,7 +22,7 @@ def load(name):
|
||||
file_name = name + ".kitten"
|
||||
save_file = os.path.join(SAVE_FOLDER, file_name)
|
||||
|
||||
with open(save_file, "r") as f:
|
||||
with open(save_file) as f:
|
||||
data = json.load(f)
|
||||
|
||||
save = model.Save.from_dict(data)
|
||||
|
||||
Reference in New Issue
Block a user