dont await that

This commit is contained in:
SowinskiBraeden committed 2024-11-17 15:23:23 -08:00
1 parent 6b0ebb175a
commit 6f17c4ad88
1 file changed
+1 -1
+1 -1
View File
@@ -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")