cleanup posterserver api
This commit is contained in:
parent
02d7147394
commit
711cb1286b
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue