forked from 0x2620/pandora
fix padma.jsonc and adjust whats needed to get it running
This commit is contained in:
parent
b855c153e0
commit
c930383b32
12 changed files with 93 additions and 45 deletions
|
|
@ -107,6 +107,11 @@ def update_static():
|
|||
ox.net.saveUrl(url, "%s.gz"%path)
|
||||
os.system('gunzip "%s.gz"' % path)
|
||||
|
||||
#poster script
|
||||
if not os.path.exists(settings.ITEM_POSTER):
|
||||
os.symlink(settings.ITEM_POSTER.replace('poster', 'oxdb_poster'),
|
||||
settings.ITEM_POSTER)
|
||||
|
||||
def init():
|
||||
load_config()
|
||||
thread.start_new_thread(reloader_thread, ())
|
||||
|
|
|
|||
|
|
@ -29,7 +29,9 @@ def index(request):
|
|||
|
||||
|
||||
def embed(request, id):
|
||||
context = RequestContext(request, {'settings': settings})
|
||||
context = RequestContext(request, {
|
||||
'settings': settings
|
||||
})
|
||||
return render_to_response('embed.html', context)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue