From 1efa280a53201658e3f49e5a1ab90f2be704d59f Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Sun, 6 Oct 2019 12:27:45 +0200 Subject: [PATCH] strip \n from config lines --- webhook-listener.py | 1 + 1 file changed, 1 insertion(+) diff --git a/webhook-listener.py b/webhook-listener.py index 04e8c00..c02bdf1 100755 --- a/webhook-listener.py +++ b/webhook-listener.py @@ -59,6 +59,7 @@ def readExecutionConfig(configFile): global config with open(configFile, "r") as f: for line in f: + line = line.strip("\n") if line.startswith(COMMENT_INDICATOR): continue projectIdent, token, scriptName = line.split(SEPERATOR)