This commit is contained in:
Philip Jenvey 2012-02-10 11:45:03 -08:00
parent 67e700697e
commit 353c10772a
1 changed files with 1 additions and 4 deletions

View File

@ -36,10 +36,7 @@ def _case_ok(directory, check):
b'PYTHONCASEOK' not in _os.environ):
if not directory:
directory = '.'
if check in _os.listdir(directory):
return True
else:
return False
return check in _os.listdir(directory)
else:
return True