From 6f17c4ad88696059b5262b35af505f0a9f2d1b22 Mon Sep 17 00:00:00 2001 From: SowinskiBraeden Date: Sun, 17 Nov 2024 15:23:23 -0800 Subject: [PATCH] dont await that --- src/ReforgerStatsBot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReforgerStatsBot.py b/src/ReforgerStatsBot.py index 81b389a..c7985a8 100644 --- a/src/ReforgerStatsBot.py +++ b/src/ReforgerStatsBot.py @@ -82,7 +82,7 @@ class ReforgerStats(commands.Bot): if self.ssh is None or self.sftp is None: self.sftp, self.ssh = createSSHClient(self.config) remote_path = "/profile/logs" - if self.log_dir == "": self.log_dir = await getLatestDir(self.sftp, remote_path) + if self.log_dir == "": self.log_dir = getLatestDir(self.sftp, remote_path) # Read data file: SFTPFile = await self.sftp.open(f"{remote_path}/{self.log_dir}/console.log")