Avoid unnecessary pool call
This commit is contained in:
parent
23b3cd3986
commit
f3665b172f
1 changed files with 0 additions and 1 deletions
|
@ -372,7 +372,6 @@ class SiteStorage(object):
|
||||||
return json.load(file)
|
return json.load(file)
|
||||||
|
|
||||||
# Write formatted json file
|
# Write formatted json file
|
||||||
@thread_pool_fs_write.wrap
|
|
||||||
def writeJson(self, inner_path, data):
|
def writeJson(self, inner_path, data):
|
||||||
# Write to disk
|
# Write to disk
|
||||||
self.write(inner_path, helper.jsonDumps(data).encode("utf8"))
|
self.write(inner_path, helper.jsonDumps(data).encode("utf8"))
|
||||||
|
|
Loading…
Reference in a new issue