Fixed a circular import in processor.py by correcting the import statement from 'videoarchiver.processor' to '.processor'

Removed the separate commands cog loading from init.py since all commands are now part of the main VideoArchiver class
Verified the core/init.py is correctly exporting the VideoArchiver class
Removed the redundant video_archiver.py file
These changes should resolve both the "No module named 'videoarchiver.commands'" error and the asyncio-related issues by:

Eliminating circular imports that could cause import-time issues
Simplifying the cog loading process to only load the main VideoArchiver class
Ensuring proper module structure and exports
This commit is contained in:
pacnpal
2024-11-15 22:22:24 +00:00
parent 97e0d9c279
commit f691d6a96c

View File

@@ -1,6 +1,6 @@
"""Re-export video processing components from processor module""" """Re-export video processing components from processor module"""
from videoarchiver.processor import ( from .processor import (
VideoProcessor, VideoProcessor,
REACTIONS, REACTIONS,
ProgressTracker, ProgressTracker,