send user-agent to directory service
This commit is contained in:
parent
b5df7332b3
commit
59e9966430
3 changed files with 5 additions and 7 deletions
|
|
@ -303,7 +303,6 @@ class Item(db.Model):
|
|||
cover = None
|
||||
if 'cover' in self.meta and self.meta['cover']:
|
||||
cover = ox.cache.read_url(self.meta['cover'])
|
||||
#covers[self.id] = requests.get(self.meta['cover']).content
|
||||
if cover:
|
||||
icons[key] = cover
|
||||
self.info['coverRatio'] = get_ratio(cover)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue