Skip to content

Commit 232673e

Browse files
Adityashankar KiniAdityashankar Kini
authored andcommitted
Add missing close of file
1 parent 05f5509 commit 232673e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/download_dashboards.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def cleanup_dir(path):
7979
f = open(file_path, 'w')
8080
f.write(json.dumps(db))
8181
print "Name: %s, # Charts: %d" % (db['name'], len(db['items']))
82-
82+
f.close()
8383

8484
zipf = zipfile.ZipFile(dashboard_state_file, 'w', zipfile.ZIP_DEFLATED)
8585
zipdir(sysdig_dashboard_dir, zipf)

0 commit comments

Comments
 (0)