aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xckandumper3
1 files changed, 2 insertions, 1 deletions
diff --git a/ckandumper b/ckandumper
index 1ec05d3..0d3bd31 100755
--- a/ckandumper
+++ b/ckandumper
@@ -52,7 +52,8 @@ class ckandumper:
def loadJSON(self, file):
descriptor = open(file)
- return json.load(descriptor)
+ data = json.load(descriptor)
+ file.close()
def dump(self):
self.ensuredir(self.dest)