diff --git a/utils.py b/utils.py index 2d175bc..c570c9b 100644 --- a/utils.py +++ b/utils.py @@ -28,14 +28,6 @@ def write_json_file(filename, json): f.write(json) f.close() -def write_json_file(folder, filename, json): - if not os.path.exists(folder): - os.mkdir(folder) - f = open(folder + '/' + filename, "w") - f.write(json) - f.close() - - def gzip_file(_in_file): with open(_in_file, 'rb') as f_in: with gzip.open(_in_file + '.gz', 'wb') as f_out: