mirror of
https://codeberg.org/mclemens/teletext-rss.git
synced 2024-06-07 15:40:56 +00:00
fixed typo in xml out file variable
This commit is contained in:
parent
ba84fbca6a
commit
aba5b6f6a9
|
@ -12,7 +12,7 @@ from sqlite3 import Error
|
|||
# configure these to your needs:
|
||||
|
||||
# Where the resulting RSS feed XML should be written to:
|
||||
xml_out = "/home/micha/websites/exitnode.net/htdocs/ard_steletext.xml"
|
||||
xml_out = "/home/micha/websites/exitnode.net/htdocs/ard_teletext.xml"
|
||||
|
||||
# Location of your database file:
|
||||
db = r"/home/micha/teletext.db"
|
||||
|
@ -84,7 +84,6 @@ def get_tafeln(conn):
|
|||
# Cleanup db table
|
||||
def cleanup_db(conn):
|
||||
sql = "DELETE FROM tafeln WHERE unixtime NOT IN (SELECT unixtime from tafeln order by unixtime desc limit " + articles + ")"
|
||||
print(sql)
|
||||
|
||||
try:
|
||||
c = conn.cursor()
|
||||
|
|
Loading…
Reference in New Issue
Block a user