s_line
, not s
This commit is contained in:
parent
4560a0ff26
commit
c5bc9577df
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ class GitHub(object):
|
||||||
return outputs
|
return outputs
|
||||||
|
|
||||||
def _comment(self, s):
|
def _comment(self, s):
|
||||||
s = s.split("\n")[0].strip()
|
s_line = s.split("\n")[0].strip()
|
||||||
left, right = s_line[:COMMENT_MAX], s_line[COMMENT_MAX:]
|
left, right = s_line[:COMMENT_MAX], s_line[COMMENT_MAX:]
|
||||||
if not right:
|
if not right:
|
||||||
return left
|
return left
|
||||||
|
|
Loading…
Reference in a new issue