def __init__(self, project_name=None, root_dir=os.getcwd(), modules=[], **kwargs):
ProjectCreator.__init__(self, project_name, root_dir, modules, **kwargs)<EOL>self.log = logging.getLogger('<STR_LIT>')<EOL>flask_found = False<EOL>for m in self._modules:<EOL><INDENT>if m.find('<STR_LIT>') > -<NUM_LIT:1>:<EOL><INDENT>flask_found = True<EOL><DEDENT><DEDENT>if not flask_found:<EOL><INDENT>self._modules.append('<STR_LIT>')<EOL><DEDENT>
Handles creating Flask projects

:keyword project_name: Name of project to create or edit
:keyword root_dir: Base directory where projects are stored
:keyword modules: List of Python modules to install into virtualenv (uses PIP)