fix(commands:info|Utils): fetch files only in ./tuxbot

This commit is contained in:
Romain J 2021-04-24 23:13:53 +02:00
parent f7f5232e21
commit 9362558a2e
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ def fetch_info():
file_amount = 0
python_file_amount = 0
for path, _, files in os.walk("."):
for path, _, files in os.walk("./tuxbot"):
for name in files:
file_dir = str(pathlib.PurePath(path, name))
if (