(self)
Update project data in the DB
Update project data in the DB
Update project data in the DB
def update_project(self):
        """
        Update project data in the DB
        """

        print '>> Updating project...'

        # Load athena data
        project = self.selected_project

        # Update project data
        project.maya = self.project_properties_ui.project_ui.linHoudini.text()
        project.width = self.project_properties_ui.project_ui.linProjectWidth.text()
        project.height = self.project_properties_ui.project_ui.linProjectHeight.text()
        project.description = self.project_properties_ui.project_ui.txtDescription.toPlainText()

        self.eve_data.update_project(project)

        # Update folder structure on HDD
        self.create_folder_structure(project)

        print '>> Project {0} updated!'.format(project.name)
def update_project ( self ) : print '>> Updating project...' # Load athena data project = self . selected_project # Update project data project . maya = self . project_properties_ui . project_ui . linHoudini . text ( ) project . width = self . project_properties_ui . project_ui . linProjectWidth . text ( ) project . height = self . project_properties_ui . project_ui . linProjectHeight . text ( ) project . description = self . project_properties_ui . project_ui . txtDescription . toPlainText ( ) self . eve_data . update_project ( project ) # Update folder structure on HDD self . create_folder_structure ( project ) print '>> Project {0} updated!' . format ( project . name )