aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-11-21 22:30:47 -0800
committerPinapelz <yukais@pinapelz.com>2025-11-21 23:27:30 -0800
commit22714994d2b7cfa238c8b2d54a3639cd6417e9b6 (patch)
treedc7036309fbb35376f452f44e33bfbe9c2e18c61 /community
parenta7347217899fb7a3addcee58a9fbee4a0c07ff57 (diff)
scaffold implementation for remote sqlite db
Diffstat (limited to 'community')
-rw-r--r--community/wacca_plus/wacca_plus.py4
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", "")
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage