2008-07-29 17:04:23 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# vi:si:et:sw=4:sts=4:ts=4
|
2009-10-12 15:18:59 +00:00
|
|
|
import oxlib.cache
|
2008-07-29 17:04:23 +00:00
|
|
|
|
|
|
|
def getPosterUrl(id):
|
|
|
|
url = "http://0xdb.org/%s/poster.0xdb.jpg" % id
|
|
|
|
if oxlib.cache.exists(url):
|
|
|
|
return url
|
|
|
|
return ''
|
|
|
|
|