Über Open CoDE Software Wiki Diskussionen GitLab

Skip to content
Snippets Groups Projects
Unverified Commit 047f11d4 authored by Fabian Morón Zirfas's avatar Fabian Morón Zirfas Committed by GitHub
Browse files

Merge pull request #77 from technologiestiftung/staging

staging -> master
parents 4f01dac8 a59b9ee4
No related branches found
Tags v1.2.3
No related merge requests found
......@@ -79,7 +79,7 @@ jobs:
node-version: 18
- run: npm ci
- id: semantic-release
uses: cycjimmy/semantic-release-action@v2
uses: cycjimmy/semantic-release-action@v3
with:
semantic_version: 18
env:
......
......@@ -290,7 +290,7 @@ if len(filelist) > 0:
# generate gejson for map and upload to S3
logging.info("generate geojson 🗺️")
s3 = boto3.client('s3', aws_access_key_id=os.getenv(
"ACCESS_KEY"), aws_secret_access_key=os.getenv("SECRET_KEY"))
"AWS_ACCESS_KEY_ID"), aws_secret_access_key=os.getenv("AWS_SECRET_ACCESS_KEY"))
features = []
features_light = []
......@@ -340,7 +340,9 @@ if len(filelist) > 0:
for tree in trees:
newLine = "\n"
newLine += "{},{},{},{}".format(tree[0], tree[1], tree[2], tree[3])
if tree[4] is not None:
if tree[4] is None:
newLine += ","
else:
newLine += ",{}".format(int(tree[4]))
singleCSV += newLine
trees_csv += newLine
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment