Files
nfoguard/core
sbcrumb e502c3625b
Local Docker Build (Dev) / build-dev (push) Successful in 29s
fix: Resolve isinstance() TypeError and undefined variable errors
Fixed two critical bugs in NFO processing:

1. isinstance() TypeError: Fixed XML comment detection in update_episode_nfo_preserving_name
   - ET.Comment is not a proper type for isinstance()
   - Added safer comment detection using type checking and string matching

2. Undefined variable: Fixed episode_filename reference in create_episode_nfo
   - Variable only defined in fallback case but referenced in all cases
   - Changed to use nfo_path.name which is always available

These fixes resolve the errors preventing NFO file updates for existing
long-named NFO files.
2025-09-26 08:52:26 -04:00
..
2025-09-25 18:58:31 -04:00
2025-09-25 18:58:31 -04:00
2025-09-25 18:58:31 -04:00