Fix #3009 (PRS500 won't connect)

This commit is contained in:
Kovid Goyal 2009-07-31 09:29:08 -06:00
parent fab11a14cf
commit 6fba434b43
2 changed files with 2 additions and 0 deletions

View File

@ -87,6 +87,7 @@ class PRS500(DeviceConfig, DevicePlugin):
description = _('Communicate with the Sony PRS-500 eBook reader.')
author = _('Kovid Goyal')
supported_platforms = ['windows', 'osx', 'linux']
log_packets = False
VENDOR_ID = 0x054c #: SONY Vendor Id
PRODUCT_ID = 0x029b #: Product Id for the PRS-500

View File

@ -20,6 +20,7 @@ class Economist(BasicNewsRecipe):
oldest_article = 7.0
needs_subscription = False # Strange but true
INDEX = 'http://www.economist.com/printedition'
cover_url = 'http://www.economist.com/images/covers/currentcovereu_large.jpg'
remove_tags = [dict(name=['script', 'noscript', 'title'])]
remove_tags_before = dict(name=lambda tag: tag.name=='title' and tag.parent.name=='body')