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