cleanup posterserver api

This commit is contained in:
j 2011-02-23 10:47:46 +01:00
parent 72af6b5fe3
commit 4e324cef84

View file

@ -680,7 +680,7 @@ class Item(models.Model):
def update_poster_urls(self): def update_poster_urls(self):
_current = {} _current = {}
for s in settings.POSTER_SERVICES: for s in settings.POSTER_SERVICES:
url = '%s?itemId=%s'%(s, self.itemId) url = '%s?id=%s'%(s, self.itemId)
try: try:
data = json.loads(ox.net.readUrlUnicode(url)) data = json.loads(ox.net.readUrlUnicode(url))
except: except: