fix: update relative import in generate.py for module compatibility

- Change 'from web_generator import' to 'from .web_generator import'
- Ensures proper module resolution when running as python -m

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Thomas Hallock 2025-09-09 20:51:37 -05:00
parent 2d7d926f7c
commit b633578ac5
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ def main():
elif args.format == 'web':
# Generate web flashcards (HTML with inline SVG)
try:
from web_generator import generate_web_flashcards
from .web_generator import generate_web_flashcards
result_path = generate_web_flashcards(numbers, final_config, output_path)
print(f"\n✓ Generated web flashcards: {result_path}")