def handle(self, folder): """docstring for handle""" if folder is None: raise Exception('Project path is required') basic_module = BasicModule() basic_module['cookie_secret'] = gen_cookie_secret() basic_module['today'] = datetime.now().strftime('%Y-%m-%d') basic_module.run(os.path.abspath(folder))
def handle(self): """docstring for handle""" basic_module = BasicModule() basic_module['cookie_secret'] = gen_cookie_secret() basic_module['today'] = datetime.now().strftime('%Y-%m-%d') basic_module.run(os.getcwd())