1
0
mirror of https://github.com/IEEE-SB-Passau/pelican-deployment-system.git synced 2017-09-06 16:35:38 +02:00

change function

This commit is contained in:
2016-06-12 14:34:08 +02:00
parent 876f775c95
commit 6cba6d4a6c

View File

@@ -43,7 +43,7 @@ def _verify_github_signature(sighdr, body):
@app.post('/github/<name>') @app.post('/github/<name>')
def index(name): def github(name):
sighdr = request.headers.get("X-Hub-Signature", "") sighdr = request.headers.get("X-Hub-Signature", "")
if not _verify_github_signature(sighdr, request.body.read()): if not _verify_github_signature(sighdr, request.body.read()):
log.error("Github request for %s faild to validate. " log.error("Github request for %s faild to validate. "