fix
This commit is contained in:
@@ -440,7 +440,7 @@ def curate_from_reddit(post, original_source, source_name, link, page_url):
|
||||
return None, None
|
||||
|
||||
except Exception as e:
|
||||
logger.error(f"Error curating Reddit post '{post.get('title', 'unknown')}': {e}")
|
||||
logger.error(f"Error curating Reddit post '{getattr(post, 'title', 'unknown')}': {e}")
|
||||
return None, None
|
||||
|
||||
def run_reddit_automator():
|
||||
|
||||
Reference in New Issue
Block a user