Nook UK has cancelled their affiliate program.

This commit is contained in:
Charles Haley 2013-12-31 12:51:43 +01:00
parent c8b957d406
commit cdff3c8cb7
2 changed files with 2 additions and 3 deletions

View File

@ -1599,7 +1599,6 @@ class StoreNookUKStore(StoreBase):
headquarters = 'UK' headquarters = 'UK'
formats = ['NOOK'] formats = ['NOOK']
affiliate = True
class StoreOpenBooksStore(StoreBase): class StoreOpenBooksStore(StoreBase):
name = 'Open Books' name = 'Open Books'

View File

@ -25,8 +25,8 @@ from calibre.gui2.store.web_store_dialog import WebStoreDialog
class NookUKStore(BasicStoreConfig, StorePlugin): class NookUKStore(BasicStoreConfig, StorePlugin):
def open(self, parent=None, detail_item=None, external=False): def open(self, parent=None, detail_item=None, external=False):
url = 'http://www.awin1.com/awclick.php?mid=5266&id=120917' url = 'http://www.nook.com/gb/store'
detail_url = 'http://www.awin1.com/cread.php?awinmid=5266&awinaffid=120917&clickref=&p=' detail_url = ''
if external or self.config.get('open_external', False): if external or self.config.get('open_external', False):
if detail_item: if detail_item: