Update src/app/viewers.py
Browse files- src/app/viewers.py +3 -2
src/app/viewers.py
CHANGED
|
@@ -5,8 +5,9 @@ import json
|
|
| 5 |
from pathlib import Path
|
| 6 |
from typing import Dict, List
|
| 7 |
|
| 8 |
-
from
|
| 9 |
-
from
|
|
|
|
| 10 |
|
| 11 |
|
| 12 |
def _build_flipbook_html(deck_name: str, cards: List[Dict]) -> str:
|
|
|
|
| 5 |
from pathlib import Path
|
| 6 |
from typing import Dict, List
|
| 7 |
|
| 8 |
+
from .config import get_user_dir
|
| 9 |
+
from .flashcards_tools import load_deck
|
| 10 |
+
|
| 11 |
|
| 12 |
|
| 13 |
def _build_flipbook_html(deck_name: str, cards: List[Dict]) -> str:
|