backup
This commit was merged in pull request #1.
This commit is contained in:
@@ -106,29 +106,4 @@ For each task completed:
|
||||
|
||||
---
|
||||
|
||||
## Completed Tasks:
|
||||
|
||||
### ✅ Debug Logging (2026-01-07)
|
||||
|
||||
Verified that the logging is correctly set to INFO level and not DEBUG for both console and file handlers. The configuration in [src/infrastructure/logging/logger.py](src/infrastructure/logging/logger.py) properly uses the log level from settings, which defaults to INFO.
|
||||
|
||||
### ✅ Fix Download Issue (2026-01-07)
|
||||
|
||||
Fixed the TypeError in download functionality where `self.events.download_progress` was set to None when trying to subscribe a handler.
|
||||
|
||||
**Changes made:**
|
||||
|
||||
- Removed `self.events.download_progress = None` from [src/core/providers/aniworld_provider.py](src/core/providers/aniworld_provider.py#L109)
|
||||
- Removed `self._events.download_status = None` and `self._events.scan_status = None` from [src/core/SeriesApp.py](src/core/SeriesApp.py#L157-158)
|
||||
|
||||
The Events library requires that events are not initialized to None. After creating the `Events()` object, event attributes are automatically handled by the library and can be subscribed to immediately.
|
||||
|
||||
**Testing:**
|
||||
|
||||
- Verified event initialization works correctly for both AniworldLoader and SeriesApp
|
||||
- Confirmed that event subscription works without errors
|
||||
- Unit tests continue to pass (251 passed)
|
||||
|
||||
---
|
||||
|
||||
## TODO List:
|
||||
|
||||
Reference in New Issue
Block a user