From d88e6c46371d4b911917f5293d82661c062a8e4c Mon Sep 17 00:00:00 2001 From: Guy Coates Date: Fri, 14 Nov 2014 09:31:58 +0000 Subject: [PATCH] Fix incorrect filetype in readdir. --- pcplib/readdir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcplib/readdir.py b/pcplib/readdir.py index c833fd0..cc23c3b 100644 --- a/pcplib/readdir.py +++ b/pcplib/readdir.py @@ -44,7 +44,7 @@ class dirent(ctypes.Structure): DT_UNKNOWN = 0 DT_FIFO = 1 DT_CHR = 2 - DT_DIR = 3 + DT_DIR = 4 DT_BLK = 6 DT_REG = 8 DT_LNK = 10