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:
parent
2d7d926f7c
commit
b633578ac5
|
|
@ -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}")
|
||||
|
|
|
|||
Loading…
Reference in New Issue