fix(commands|Utils>source): stupid of me, the +3 was 'cause of a diff in local and github

This commit is contained in:
Romain J 2020-11-11 01:29:53 +01:00
parent 5a65fe1a6c
commit 42d7cad0e5
2 changed files with 0 additions and 2 deletions

View file

@ -12,7 +12,6 @@ disable=
C0114, # missing-module-docstring
C0115, # missing-class-docstring
C0116, # missing-function-docstring
W0511, # fixme
W0703, # broad-except
R0801, # duplicate-code
R0902, # too-many-instance-attributes

View file

@ -229,7 +229,6 @@ class Utils(commands.Cog, name="Utils"):
try:
lines, start_line = inspect.getsourcelines(src)
start_line -= 3 # todo: find why this -3 is necessary
except OSError:
return await ctx.send(
_(