1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-05 17:05:03 -05:00

Fix number of lines submitted.

This commit is contained in:
Alexandre Beloin 2015-01-23 16:43:41 -05:00
parent 17545d93b2
commit c9085a3ac6

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