|
|
@ -137,9 +137,12 @@ def get_subscriptions(basepath: str = BASEPATH,
|
|
|
|
con = sqlite3.connect(fullpath)
|
|
|
|
con = sqlite3.connect(fullpath)
|
|
|
|
cur = con.cursor()
|
|
|
|
cur = con.cursor()
|
|
|
|
select_query = '''SELECT * FROM {}'''.format(SUB_TABLE)
|
|
|
|
select_query = '''SELECT * FROM {}'''.format(SUB_TABLE)
|
|
|
|
|
|
|
|
try:
|
|
|
|
cur.execute(select_query)
|
|
|
|
cur.execute(select_query)
|
|
|
|
for result in cur.fetchall():
|
|
|
|
for result in cur.fetchall():
|
|
|
|
subscriptions.append(result)
|
|
|
|
subscriptions.append(result)
|
|
|
|
|
|
|
|
except sqlite3.OperationalError:
|
|
|
|
|
|
|
|
pass
|
|
|
|
return subscriptions
|
|
|
|
return subscriptions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|