def create(self, api_url):
# create the directory
if os.path.isdir(self.location):
def create(self, api_url):
# create the directory
if os.path.isdir(self.location):
self.config = ConfigParser.RawConfigParser()
self.config.add_section('remote')
self.config.set('remote', 'api_url', api_url)
self.config = ConfigParser.RawConfigParser()
self.config.add_section('remote')
self.config.set('remote', 'api_url', api_url)