Fixed small bug with search results

This commit is contained in:
Sumner Evans
2020-04-04 22:25:50 -06:00
parent 0f13be6afc
commit 8a55d9b27a

View File

@@ -1007,7 +1007,7 @@ class CacheManager(metaclass=Singleton):
) -> 'CacheManager.Result':
if query == '':
search_callback(SearchResult(''), True)
return CacheManager.from_data(None)
return CacheManager.Result.from_data(None)
before_download()