Skip to content

Commit 5a0cb1b

Browse files
committed
improve(integrations): remove duplicate logs
1 parent e519d85 commit 5a0cb1b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

mkdocs_rss_plugin/integrations/theme_material_social_plugin.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -354,15 +354,6 @@ def get_social_card_cache_path_for_page(
354354
f"Social card not found in cache folder: {expected_cached_card_path}"
355355
)
356356

357-
if expected_cached_card_path.is_file():
358-
logger.debug(
359-
f"Social card file found in cache folder: {expected_cached_card_path}"
360-
)
361-
return expected_cached_card_path
362-
else:
363-
logger.debug(f"Not found: {expected_cached_card_path}")
364-
return None
365-
366357
def get_social_card_url_for_page(
367358
self,
368359
mkdocs_page: MkdocsPageSubset,

0 commit comments

Comments
 (0)