Skip to content

Commit

Permalink
Initial WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewWilkes committed May 31, 2022
1 parent 6cfc286 commit bdb9988
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions modules/app_store/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import tidal
import tidal_helpers
from app import MenuApp
from scheduler import get_scheduler
import term
import sys
import ujson
import os
import functools
import settings
from dashboard.resources import woezel_repo


class Store(MenuApp):

APP_ID = "store"
TITLE = "EMF 2022 - TiDAL"

@property
def choices(self):
# Note, the text for each choice needs to be <= 16 characters in order to fit on screen
choices = []
return choices

def progress(self, text, error=False, wifi=False):
self.window.println(text)

def on_start(self):
super().on_start()
woezel_repo.update(_showProgress=self.progress)
self.data = woezel_repo.load()

def on_activate(self):
super().on_activate()

0 comments on commit bdb9988

Please sign in to comment.