Fix number of lines submitted.

This commit is contained in:
Alexandre Beloin 2015-01-23 16:43:41 -05:00
parent 17545d93b2
commit c9085a3ac6
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ class Logger(object):
if match:
level = match.group(2)
if reverseNames[level] == ERROR:
paste_data = "".join(log_data[i:50])
paste_data = "".join(log_data[i:i+50])
if paste_data:
gist = gh.get_user().create_gist(True, {"sickrage.log": InputFileContent(paste_data)})
break