mirror of https://gitlab.com/bashrc2/epicyon
No carriage return
parent
bd39a394dc
commit
9c3ce88e8d
2
git.py
2
git.py
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue