Skip to content

Commit

Permalink
mapbox directory fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-meier committed May 23, 2020
1 parent 181c60f commit 2cd51e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harvester/harvester.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def finishGeojson (feature_list, file_name):
# upload latest data

s3mapbox = boto3.client('s3', aws_access_key_id=s3_credentials["accessKeyId"], aws_secret_access_key=s3_credentials["secretAccessKey"], aws_session_token=s3_credentials["sessionToken"])
s3mapbox.upload_file("trees.csv", s3_credentials["bucket"], s3_credentials["key"])
s3mapbox.upload_file(path + "trees.csv", s3_credentials["bucket"], s3_credentials["key"])

# tell mapbox that new data has arrived

Expand Down

0 comments on commit 2cd51e8

Please sign in to comment.