Commit 54c80ab6 authored by ChamendiPabasara's avatar ChamendiPabasara

Updated optional readSecondaryStorage

parent 091503df
......@@ -492,11 +492,11 @@ def SingleUpload(jsObj, name):
client.write(outputFileName, data=dumps(jsObj), overwrite=True)
#Updated readSecondaryStorage as optional
def readSecondaryStorage():
data_ = []
path_to_json = 'dumps/well-structured-final/'
for file_name in [file for file in os.listdir(path_to_json) if file.endswith('.json')]:
with open(path_to_json + file_name, encoding='utf-8') as json_file:
data = json.load(json_file)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment