OoT: Update Utils.py (#2310)
Removed optional maxsize parameter, setting it to the default of 128.
This commit is contained in:
parent
e8a48da315
commit
1c7c83c69e
|
@ -11,7 +11,7 @@ def data_path(*args):
|
||||||
return os.path.join(os.path.dirname(__file__), 'data', *args)
|
return os.path.join(os.path.dirname(__file__), 'data', *args)
|
||||||
|
|
||||||
|
|
||||||
@lru_cache(maxsize=13) # Cache Overworld.json and the 12 dungeons
|
@lru_cache
|
||||||
def read_json(file_path):
|
def read_json(file_path):
|
||||||
json_string = ""
|
json_string = ""
|
||||||
with io.open(file_path, 'r') as file:
|
with io.open(file_path, 'r') as file:
|
||||||
|
|
Loading…
Reference in New Issue