No carriage return

main
Bob Mottram 2020-05-02 16:29:43 +00:00
parent bd39a394dc
commit 9c3ce88e8d
1 changed files with 1 additions and 1 deletions

2
git.py
View File

@ -23,7 +23,7 @@ def getGitProjectName(baseDir: str, nickname: str, domain: str,
return None return None
subjectLineWords = subject.lower().split(' ') subjectLineWords = subject.lower().split(' ')
for word in subjectLineWords: for word in subjectLineWords:
if word + '\n' in open(gitProjectsFilename).read(): if word in open(gitProjectsFilename).read():
return word return word
return None return None