fix: remove sort_keys json dumps inside get method

so this way the keys are returned how they were declared
This commit is contained in:
Cristian Vera 2021-10-15 16:26:49 -03:00
parent 5fc7b21391
commit 8f19cb0c4e
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ class Cache:
return
if not cache_dir_exists_already:
self._ensure_supporting_files()
data = json.dumps(value, indent=2, sort_keys=True)
data = json.dumps(value, indent=2)
try:
f = path.open("w")
except OSError: