Commit d099ea32 authored by Rayan  CHIKHI's avatar Rayan CHIKHI
Browse files

important fix

parent b0dc0b58
......@@ -31,7 +31,7 @@ def process_file(inputBucket, fileName, region, delete_original=False):
os.system(' '.join(["df", "-h", "."]))
# download reads from s3
local_file = str(fileName)
local_file = os.path.basename(str(fileName))
s3.download_file(inputBucket, fileName, local_file)
print("downloaded file to",local_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