Antoine Pitrou added the comment: When you say "os.path.isdir(...) works fine", you mean it's returning False? ---------- nosy: +pitrou _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue21516> _______________________________________