From 3d37f9e8c5c7601299ba1735a7ebc815d83ff710 Mon Sep 17 00:00:00 2001 From: Shockingly Good Date: Wed, 4 Dec 2024 13:59:41 +0100 Subject: [PATCH] Update redis_std.py The Error is not a part of the "os" module. --- RLTest/redis_std.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RLTest/redis_std.py b/RLTest/redis_std.py index 9c49815..c8cf4b4 100644 --- a/RLTest/redis_std.py +++ b/RLTest/redis_std.py @@ -346,7 +346,7 @@ def getInformationAfterDispose(self): try: with open(os.path.join(self.dbDirPath, self._getFileName(role, '.log'))) as f: logs = f.read() - except os.FileNotFoundError: + except FileNotFoundError: pass res[role] = {