11 lines
211 B
Python
11 lines
211 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
# vi:si:et:sw=4:sts=4:ts=4
|
||
|
import oxlib.cache
|
||
|
|
||
|
def getPosterUrl(id):
|
||
|
url = "http://0xdb.org/%s/poster.0xdb.jpg" % id
|
||
|
if oxlib.cache.exists(url):
|
||
|
return url
|
||
|
return ''
|
||
|
|