added self
This commit is contained in:
parent
241829d88e
commit
754d3b466c
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ class PhixxyCom(commands.Cog):
|
||||||
except:
|
except:
|
||||||
print("PhixxyCom failed to make directories")
|
print("PhixxyCom failed to make directories")
|
||||||
|
|
||||||
def find_prompt_from_filename(sd_log, filename):
|
def find_prompt_from_filename(self, sd_log, filename):
|
||||||
with open(sd_log, 'r') as f:
|
with open(sd_log, 'r') as f:
|
||||||
lines = f.readlines()
|
lines = f.readlines()
|
||||||
for line in reversed(lines):
|
for line in reversed(lines):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue