Skip to content

Commit

Permalink
fix(pipeline): update path to layer icons
Browse files Browse the repository at this point in the history
  • Loading branch information
andreashelms committed Feb 5, 2024
1 parent 0b3263e commit bca3811
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/dags/task_factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def fn():
# copy legend image
shutil.copyfile(f'{workdir}/legend.png', f'{upload_dir}/legend.png')
# copy layer icon
shutil.copyfile(f'/opt/airflow/assets/layer-icons/{layer_id}.{layer_variable}.png', f'{upload_dir}/{layer_id}.{layer_variable}.png')
shutil.copyfile(f'/opt/airflow/plugins/layer-icons/{layer_id}.{layer_variable}.png', f'{upload_dir}/{layer_id}.{layer_variable}.png')
# make zip archive for offline usage
zip_file = f'{workdir}/package'
shutil.make_archive(zip_file, 'zip', root_dir=upload_dir)
Expand Down
File renamed without changes

0 comments on commit bca3811

Please sign in to comment.