Use correct directory to read log files from
This commit is contained in:
parent
4000af3d58
commit
19b8e136dc
@ -43,7 +43,7 @@ async def log(event):
|
||||
if len(arr) == 1:
|
||||
import os
|
||||
rpl = "Available log files:\n"
|
||||
rpl += os.popen("ls logs").read()
|
||||
rpl += os.popen("ls /var/telelog/logs").read()
|
||||
await event.edit(rpl)
|
||||
else:
|
||||
chat = f'/var/telelog/logs/{arr[1]}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user