From 575ef0c4288cf8329e8a9f036d04682f21c76b4d Mon Sep 17 00:00:00 2001 From: Hydrus Network Developer Date: Wed, 20 Nov 2024 16:48:56 -0600 Subject: [PATCH] Fixing bad type def --- hydrus/client/media/ClientMediaFileFilter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hydrus/client/media/ClientMediaFileFilter.py b/hydrus/client/media/ClientMediaFileFilter.py index 37fb07b8..5664700c 100644 --- a/hydrus/client/media/ClientMediaFileFilter.py +++ b/hydrus/client/media/ClientMediaFileFilter.py @@ -12,6 +12,7 @@ from hydrus.client import ClientConstants as CC from hydrus.client import ClientGlobals as CG from hydrus.client import ClientThreading from hydrus.client.media import ClientMedia +from hydrus.client.media import ClientMediaResult from hydrus.client.metadata import ClientTags FILE_FILTER_ALL = 0 @@ -484,7 +485,7 @@ def FilterAndReportDeleteLockFailures( medias: typing.Collection[ ClientMedia.Me return deletee_medias -def ReportDeleteLockFailures( media_results: typing.Collection[ ClientMedia.ClientMediaResult ] ): +def ReportDeleteLockFailures( media_results: typing.Collection[ ClientMediaResult.MediaResult ] ): HydrusData.Print( 'Hey, we had a delete-lock problem. Here is the stack, which hydev may care to see:' )