Skip to content

Commit

Permalink
Fix simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
hughrawlinson committed May 31, 2024
1 parent 37a4d69 commit 2de1cf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions modules/firmware_apps/app_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def file_exists(filename):
APP_STORE_LISTING_URL = "https://apps.badge.emfcamp.org/demo_api/apps.json"

CODE_INSTALL = "CodeInstall"
AVAILABLE = "Available"
INSTALLED = "Installed"
AVAILABLE = "StoreInstall"
INSTALLED = "Uninstall"
UPDATE = "Update"
REFRESH = "Refresh Apps"

Expand Down Expand Up @@ -353,7 +353,7 @@ def install_app(app):
print("GC")
gc.collect()

print(f"Getting {app["tarballUrl"]}")
print(f"Getting {app['tarballUrl']}")
tarball = get(app["tarballUrl"])
# tarballGenerator = self.download_file(app["tarballUrl"])

Expand Down
2 changes: 1 addition & 1 deletion modules/system/launcher/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def launch(self, item):
except Exception as e:
print(f"Error creating app: {e}")
eventbus.emit(
ShowNotificationEvent(message=f"{item["name"]} has crashed")
ShowNotificationEvent(message=f"{item['name']} has crashed")
)
return
self._apps[app_id] = app
Expand Down

0 comments on commit 2de1cf4

Please sign in to comment.