Skip to content

Commit 3d37f9e

Browse files
authored
Update redis_std.py
The Error is not a part of the "os" module.
1 parent fdde0ce commit 3d37f9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RLTest/redis_std.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ def getInformationAfterDispose(self):
346346
try:
347347
with open(os.path.join(self.dbDirPath, self._getFileName(role, '.log'))) as f:
348348
logs = f.read()
349-
except os.FileNotFoundError:
349+
except FileNotFoundError:
350350
pass
351351

352352
res[role] = {

0 commit comments

Comments
 (0)