aboutsummaryrefslogtreecommitdiff
path: root/utils.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-03-10 11:07:57 +0100
committercedricbonhomme <devnull@localhost>2010-03-10 11:07:57 +0100
commitefba9d427ecb487531d39cb0290475e196da2bd8 (patch)
tree76bb2b71e7d63b8e9858fb49361055ef106acd5a /utils.py
parentImprovement of the security (test URLs,etc.). Added mutex. (diff)
downloadnewspipe-efba9d427ecb487531d39cb0290475e196da2bd8.tar.gz
newspipe-efba9d427ecb487531d39cb0290475e196da2bd8.tar.bz2
newspipe-efba9d427ecb487531d39cb0290475e196da2bd8.zip
Bug fix: bad identifiant of feed.
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.py b/utils.py
index 1412a50a..8c6e947d 100644
--- a/utils.py
+++ b/utils.py
@@ -144,8 +144,8 @@ def load_feed():
Load feeds and articles in a dictionary.
"""
LOCKER.acquire()
- list_of_feeds = None
- list_of_articles = None
+ list_of_feeds = []
+ list_of_articles = []
try:
conn = sqlite3.connect("./var/feed.db", isolation_level = None)
c = conn.cursor()
bgstack15