Making code more PEP8 friendly

This commit is contained in:
Alayn Gortazar 2012-04-23 01:17:10 +02:00
parent 6185fa1552
commit 211ff892b2

View File

@ -19,6 +19,7 @@ import json
import urllib import urllib
import urllib2 import urllib2
class Readitlater(BasicNewsRecipe): class Readitlater(BasicNewsRecipe):
title = 'Read It Later' title = 'Read It Later'
__author__ = 'Darko Miletic, Przemyslaw Kryger, Keith Callenberg, tBunnyMan, Alayn Gortazar' __author__ = 'Darko Miletic, Przemyslaw Kryger, Keith Callenberg, tBunnyMan, Alayn Gortazar'
@ -65,6 +66,7 @@ class Readitlater(BasicNewsRecipe):
return auth_params return auth_params
def parse_index(self): def parse_index(self):
# WARNING: Pre-alpha API, I just figured out this calls params. Surprisingly worked! :)
index = self.API_INDEX + 'v3/get?' + self.get_auth_params() index = self.API_INDEX + 'v3/get?' + self.get_auth_params()
index += '&state=queue' index += '&state=queue'
index += '&count=' + str(self.max_articles_per_feed) index += '&count=' + str(self.max_articles_per_feed)