diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-11-21 22:30:47 -0800 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-11-21 23:27:30 -0800 |
| commit | 22714994d2b7cfa238c8b2d54a3639cd6417e9b6 (patch) | |
| tree | dc7036309fbb35376f452f44e33bfbe9c2e18c61 /community | |
| parent | a7347217899fb7a3addcee58a9fbee4a0c07ff57 (diff) | |
scaffold implementation for remote sqlite db
Diffstat (limited to 'community')
| -rw-r--r-- | community/wacca_plus/wacca_plus.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/community/wacca_plus/wacca_plus.py b/community/wacca_plus/wacca_plus.py index 0f34814..90ec661 100644 --- a/community/wacca_plus/wacca_plus.py +++ b/community/wacca_plus/wacca_plus.py @@ -1,6 +1,6 @@ from datetime import datetime from dotenv import load_dotenv -from database import Database +from common import create_database_connection import os import time import requests @@ -78,7 +78,7 @@ def _convert_image_to_base64(img_url: str): def parse_announcement_messages(message_json: dict): news_posts = [] - database = Database() + database = create_database_connection() for message in message_json: type = None message_content = message.get("content", "") |
