diff --git a/hydrus/core/HydrusFileHandling.py b/hydrus/core/HydrusFileHandling.py index b1261ade..6924b0c2 100644 --- a/hydrus/core/HydrusFileHandling.py +++ b/hydrus/core/HydrusFileHandling.py @@ -400,7 +400,7 @@ def GetFileInfo( path, mime = None, ok_to_look_for_hydrus_updates = False ): ( width, height ) = HydrusImageHandling.GetPSDResolution( path ) - elif mime in HC.VIDEO: + elif mime in HC.VIDEO or mime == HC.IMAGE_AVIF_SEQUENCE: ( ( width, height ), duration, num_frames, has_audio ) = HydrusVideoHandling.GetFFMPEGVideoProperties( path ) diff --git a/hydrus/core/HydrusImageHandling.py b/hydrus/core/HydrusImageHandling.py index e49cff9d..265b53ae 100644 --- a/hydrus/core/HydrusImageHandling.py +++ b/hydrus/core/HydrusImageHandling.py @@ -1228,8 +1228,6 @@ def RawOpenPILImage( path ) -> PILImage.Image: pil_image = PILImage.open( path ) except Exception as e: - - print(e) raise HydrusExceptions.DamagedOrUnusualFileException( 'Could not load the image--it was likely malformed!' )