def makeDir(path):
 if (not ek(os.path.isdir, path)):
  try:
   ek(os.makedirs, path)
   sickbeard.notifiers.synoindex_notifier.addFolder(path)
  except OSError:
   return False
 return True

def makeDir ( path ) : if ( not ek ( os . path . isdir , path ) ) : try : ek ( os . makedirs , path ) sickbeard . notifiers . synoindex_notifier . addFolder ( path ) except OSError : return False return True
make a directory on the filesystem .