Adjusted metadata

This commit is contained in:
Brage 2023-07-31 19:36:31 +02:00
parent 1296e2532f
commit 75ab0e1804

View File

@ -158,7 +158,7 @@ class MessageHandlerThread(threading.Thread):
else: else:
logger.info("Not in cache: %s", name) logger.info("Not in cache: %s", name)
logger.info("Searching in sources for information about %s", name) logger.info("Searching in sources for information about %s", name)
result: Optional[DataResult] = self.perform_action(title=name) result: Optional[DataResult] = UseSource(title=name).select_result()
if (result.statusType == "SUCCESS"): if (result.statusType == "SUCCESS"):
logger.info("Storing response for %s in in-memory cache", name) logger.info("Storing response for %s in in-memory cache", name)
ResultCache.add(name, result) ResultCache.add(name, result)