Avoid unnecessary pool call

This commit is contained in:
shortcutme 2019-12-17 15:07:32 +01:00
parent 23b3cd3986
commit f3665b172f
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -372,7 +372,6 @@ class SiteStorage(object):
return json.load(file)
# Write formatted json file
@thread_pool_fs_write.wrap
def writeJson(self, inner_path, data):
# Write to disk
self.write(inner_path, helper.jsonDumps(data).encode("utf8"))