Commit 9c205cbf authored by Cédric Bonhomme's avatar Cédric Bonhomme

Copyrigth information.

parent 7474b43e
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# EPC Information Service
# Copyright (C) 2013-2014 Public Research Centre Henri Tudor - http://tudor.lu/
#
# For more information : https://bitbucket.org/cedricbonhomme/epc-information-service/
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
__author__ = "Cedric Bonhomme"
__version__ = "$Revision: 0.1 $"
__date__ = "$Date: 2013/12/20 $"
__revision__ = "$Date: 2014/01/31 $"
__copyright__ = "Copyright (c) 2013-2014 Public Research Centre Henri Tudor"
__license__ = "GPLv3"
import random
from flask import jsonify, request
......@@ -60,4 +85,4 @@ def not_found(error=None):
}
resp = jsonify(message)
resp.status_code = 404
return resp
\ No newline at end of file
return resp
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# EPC Information Service
# Copyright (C) 2013-2014 Public Research Centre Henri Tudor - http://tudor.lu/
#
# For more information : https://bitbucket.org/cedricbonhomme/epc-information-service/
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
__author__ = "Cedric Bonhomme"
__version__ = "$Revision: 0.1 $"
__date__ = "$Date: 2013/12/20 $"
__revision__ = "$Date: 2014/01/31 $"
__copyright__ = "Copyright (c) 2013-2014 Public Research Centre Henri Tudor"
__license__ = "GPLv3"
import os
from refuge import app
port = int(os.environ.get('PORT', 5000))
app.run(host='0.0.0.0', port=port)
\ No newline at end of file
app.run(host='0.0.0.0', port=port)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment