This commit is contained in:
Kovid Goyal 2009-12-17 16:59:27 -07:00
parent b9abaebc52
commit fd3838b84c
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ class BusinessStandard(BasicNewsRecipe):
return url + '?mode=PF'
def get_article_url(self, article):
rawarticle = article.get('origlink', None)
rawarticle = article.get('pheedo_origlink', None)
artls, sep, rsep = rawarticle.rpartition('/?')
if artls == '':
artls = rawarticle.rpartition('?')[0]

View File

@ -166,7 +166,7 @@ class PRS500(DeviceConfig, DevicePlugin):
try:
if not dev.handle:
dev.open()
if not dev.in_session:
if not getattr(dev, 'in_session', False):
dev.send_validated_command(BeginEndSession(end=False))
dev.in_session = True
res = func(*args, **kwargs)