os.path not os

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-07 13:48:10 +02:00
parent e03ebcd5c1
commit fc6ae54889
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ class Context:
"""Initialise output directory structure"""
# Create base dir, if user supplied and not existing
if not os.isdir(self.base_dir):
if not os.path.isdir(self.base_dir):
os.mkdir(self.base_dir)
os.mkdir(self.out_dir)