Skip to content

Commit 6180e6d

Browse files
committed
config env variable
1 parent 17b52d6 commit 6180e6d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ common: &common
1111
command: .circleci/install_tippecanoe.sh
1212
- run:
1313
name: imagery token
14-
command: IMAGE_TOKEN="${IMAGE_TOKEN}"
14+
command: IMAGE_TOKEN=$IMAGE_TOKEN
1515
- run:
1616
name: run tox
1717
command: ~/.local/bin/tox

label_maker/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def download_tile_tms(tile, imagery, folder, kwargs):
7070
width=new_dim, count=3, dtype=rasterio.uint8) as w:
7171
for num, t in enumerate(child_tiles):
7272
t = [str(t[0]), str(t[1]), str(t[2])]
73-
token = os.environ.get("IMAGE_TOKEN")
73+
token = os.environ.get('IMAGE_TOKEN')
7474
fullUrl = imagery + token
7575
r = requests.get(url(t, fullUrl),
7676
auth=kwargs.get('http_auth'))

0 commit comments

Comments
 (0)