Browse Source

nitpicking: capitalized SQL code for consistency.

merge-requests/4/head
jmf 2 years ago
parent
commit
aaed156a31
  1. 2
      toot_bot.py

2
toot_bot.py

@ -123,7 +123,7 @@ def rss(config):
cursor = conn.cursor()
# Ensure cache table has been created
cursor.execute('create table if not exists article_cache (id varchar(256) primary key);')
cursor.execute('CREATE TABLE IF NOT EXISTS article_cache (id VARCHAR(256) PRIMARY KEY);')
conn.commit()
# Run through all articles in feed

Loading…
Cancel
Save