annotate hgwebsite.wsgi @ 411:640c68441419

Fix command to start Flask
author Martin Geisler <martin@geisler.net>
date Fri, 29 Aug 2014 12:24:39 +0200
parents 4d4c4b73808e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
401
4d4c4b73808e Use absolute paths
David Soria Parra <dsp@php.net>
parents: 400
diff changeset
1 import sys, os
4d4c4b73808e Use absolute paths
David Soria Parra <dsp@php.net>
parents: 400
diff changeset
2 sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
400
20cfd68e9c49 Add hgwebsite wsgi handler
David Soria Parra <davidsp@fb.com>
parents:
diff changeset
3 from hgwebsite import app as application