From 9362558a2e1a1e864006b5e7378ebd2316449198 Mon Sep 17 00:00:00 2001
From: Romain J <romain.ordi@gmail.com>
Date: Sat, 24 Apr 2021 23:13:53 +0200
Subject: [PATCH] fix(commands:info|Utils): fetch files only in ./tuxbot
---
tuxbot/cogs/Utils/functions/info.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tuxbot/cogs/Utils/functions/info.py b/tuxbot/cogs/Utils/functions/info.py
index 51a0e4e..1c9d246 100644
--- a/tuxbot/cogs/Utils/functions/info.py
+++ b/tuxbot/cogs/Utils/functions/info.py
@@ -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 (