diff options
Diffstat (limited to 'gui-project')
-rw-r--r-- | gui-project/main.py | 2 | ||||
-rw-r--r-- | gui-project/main_ui.py | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/gui-project/main.py b/gui-project/main.py index d98b2c7..4a9e159 100644 --- a/gui-project/main.py +++ b/gui-project/main.py @@ -1,8 +1,6 @@ from nicegui import ui from main_ui import MainUI -FLASHCARDS_ROOT="/home/andreear/git/schwiizertuutsch/flashcards" - @ui.page("/") def main_page(): MainUI() diff --git a/gui-project/main_ui.py b/gui-project/main_ui.py index fcb1f5a..6bda821 100644 --- a/gui-project/main_ui.py +++ b/gui-project/main_ui.py @@ -5,8 +5,9 @@ import sys from cards import CardUI, CardComponent from flashcards import Session -FLASHCARDS_ROOT="/home/andreear/git/schwiizertuutsch/flashcards" -STATE_FILE="/home/andreear/git/flashcards/state.txt" +FLASHCARDS_ROOT="/app/schwiizertuutsch/flashcards" +STATE_FILE="/app/state.txt" +# FLASHCARDS_ROOT="/home/andreea/git/schwiizertuutsch/flashcards" class MainUI(): def __init__(self): |