mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
OoT: Update Utils.py (#2310)
Removed optional maxsize parameter, setting it to the default of 128.
This commit is contained in:
@@ -11,7 +11,7 @@ def data_path(*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):
|
||||
json_string = ""
|
||||
with io.open(file_path, 'r') as file:
|
||||
|
Reference in New Issue
Block a user