Skip to content

Commit

Permalink
Fix bug in API fetch script
Browse files Browse the repository at this point in the history
Fix bug in API fetch script where fetching would fail if the android lib folders didn’t already exist.
  • Loading branch information
CharlVS committed May 22, 2024
1 parent d5943df commit 2622fd4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .docker/update_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ def download_api_file(self, platform):
zip_file_name = os.path.basename(zip_file_url)
destination_path = os.path.join(destination_folder, zip_file_name)

# Ensure the destination directory exists
os.makedirs(destination_folder, exist_ok=True)

# Save the zip file to the specified folder
with open(destination_path, "wb") as file:
response.raw.decode_content = True
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Komodo Wallet - Open Source GitHub Repository 🚀
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/KomodoPlatform/komodo-wallet-mobile?quickstart=1)

![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/komodoplatform/atomicdex-mobile/build.yml)
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/komodoplatform/atomicdex-mobile)
![GitHub contributors](https://img.shields.io/github/contributors-anon/komodoplatform/atomicdex-mobile)
Expand Down

0 comments on commit 2622fd4

Please sign in to comment.