forked from 0x2620/pandora
cleanup posterserver api
This commit is contained in:
parent
72af6b5fe3
commit
4e324cef84
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