/Tweetcord 0.3.3 to 0.3.4.py Secret
Last active
September 15, 2024 23:24
This is the update script for Tweetcord from version 0.3.3 to 0.3.4. Please make sure to read the Tweetcord upgrade guide before using it.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from dotenv import load_dotenv | |
import os | |
import sqlite3 | |
load_dotenv() | |
conn = sqlite3.connect(f"{os.getenv('DATA_PATH')}tracked_accounts.db") | |
cursor = conn.cursor() | |
cursor.execute('ALTER TABLE notification ADD enabled INTEGER DEFAULT 1') | |
conn.commit() | |
conn.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment