X-Git-Url: https://git.ralfj.de/git-mirror.git/blobdiff_plain/1a695451f3a3261b0d73884b372f579a594b8313..HEAD:/webhook.py diff --git a/webhook.py b/webhook.py index d91a4aa..0b3f11f 100755 --- a/webhook.py +++ b/webhook.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # Copyright (c) 2015, Ralf Jung # All rights reserved. # @@ -26,7 +26,8 @@ # This is the CGI script receiving GitHub webhooks. # You may have to change the location of the "main" webhook script: webhook_core = "/home/git/git-mirror/webhook-core.py" -# + +# Do NOT change anything below here import urllib.request, urllib.parse, json, os, sys # get repository from query string