isdir is in os.path, not os

This commit is contained in:
Chris Jones 2010-01-15 23:32:16 +00:00
parent 3917ea568b
commit 0e01618dfa
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ class ConfigBase(Borg):
parser['plugins'][plugin] = self.plugins[plugin]
config_dir = get_config_dir()
if not os.isdir(config_dir):
if not os.path.isdir(config_dir):
os.makedirs(config_dir)
try:
parser.write(open(os.path.join(config_dir, 'epic-config'), 'w'))