aboutsummaryrefslogtreecommitdiff
path: root/utils.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-07-05 13:56:05 +0200
committercedricbonhomme <devnull@localhost>2010-07-05 13:56:05 +0200
commitada6393ca27e2e1e822b65c92aaf31224da72811 (patch)
tree97140ee0701d7df6b242e3d6181168151f4133f8 /utils.py
parentCase-insensitive sorting. (diff)
downloadnewspipe-ada6393ca27e2e1e822b65c92aaf31224da72811.tar.gz
newspipe-ada6393ca27e2e1e822b65c92aaf31224da72811.tar.bz2
newspipe-ada6393ca27e2e1e822b65c92aaf31224da72811.zip
Stupid bug fix.
Diffstat (limited to 'utils.py')
-rwxr-xr-xutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.py b/utils.py
index ba0614c5..26e270a6 100755
--- a/utils.py
+++ b/utils.py
@@ -284,7 +284,7 @@ def load_feed():
if list_of_feeds != []:
sha1_hash = hashlib.sha1()
# Case-insensitive sorting
- tupleList = [(x[3].upper(), x) for x in list_of_feeds]
+ tupleList = [(x[0].lower(), x) for x in list_of_feeds]
tupleList.sort(key=operator.itemgetter(0))
for feed in [x[1] for x in tupleList]:
bgstack15