From 9c3ce88e8df3e91dd23d512b0efc2830b59837b7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 2 May 2020 16:29:43 +0000 Subject: [PATCH] No carriage return --- git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git.py b/git.py index 0d12bd41a..d31ed8803 100644 --- a/git.py +++ b/git.py @@ -23,7 +23,7 @@ def getGitProjectName(baseDir: str, nickname: str, domain: str, return None subjectLineWords = subject.lower().split(' ') for word in subjectLineWords: - if word + '\n' in open(gitProjectsFilename).read(): + if word in open(gitProjectsFilename).read(): return word return None