diff options
author | Cédric Bonhomme <kimble.mandel+bitbucket@gmail.com> | 2014-06-09 19:05:32 +0200 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel+bitbucket@gmail.com> | 2014-06-09 19:05:32 +0200 |
commit | 1b73a3a4a73f231f6c1c2a3258e561b1301ca6af (patch) | |
tree | ea21bacea92a0a267f8286eb12f2d81cefa1a3c4 /runserver.py | |
parent | A problem with urllib.quote() has been detected with the url: http://standblo... (diff) | |
parent | fixing parsing for already quoted url as well (diff) | |
download | newspipe-1b73a3a4a73f231f6c1c2a3258e561b1301ca6af.tar.gz newspipe-1b73a3a4a73f231f6c1c2a3258e561b1301ca6af.tar.bz2 newspipe-1b73a3a4a73f231f6c1c2a3258e561b1301ca6af.zip |
Merged in jaesivsm/pyaggr3g470r (pull request #2)
making pyagregator runnable by apache
Diffstat (limited to 'runserver.py')
-rwxr-xr-x | runserver.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/runserver.py b/runserver.py index 92c02609..b4e138f3 100755 --- a/runserver.py +++ b/runserver.py @@ -19,8 +19,10 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -import conf -from pyaggr3g470r import app +from bootstrap import conf +from pyaggr3g470r import app as application -app.run(host=conf.WEBSERVER_HOST, port=conf.WEBSERVER_PORT, - debug=conf.WEBSERVER_DEBUG) +if __name__ == '__main__': + application.run(host=conf.WEBSERVER_HOST, + port=conf.WEBSERVER_PORT, + debug=conf.WEBSERVER_DEBUG) |