diff --git a/gitea-to-ics.py b/gitea-to-ics.py index d2e1e86..597cc46 100644 --- a/gitea-to-ics.py +++ b/gitea-to-ics.py @@ -20,7 +20,7 @@ def get_combined(token): req = urllib.request.Request(GITEA_REPO_URL + f"/repos/issues/search?state=open&{q}=true") req.add_header("Accept", "application/json") - req.add_header("Authorization", "token" + token) + req.add_header("Authorization", "token " + token) timestamp=datetime.datetime.now() print(f"{timestamp} Requesting and parsing {q}")