def __create_input(self, main_root):
		content = self.__manager.load_content()
		input_dir = os.path.join(main_root,'input')
		try:
			content.get(self.__task.data['id'], 'input', os.path.join(main_root, 'input'))
		except:
			safe_mkdir(input_dir)
def approve(self, user_id=None, service=""):
        """
        Approve the verification attempt for user

        Valid attempt statuses when calling this method:
            `submitted`, `approved`, `denied`

        After method completes:
            status is set to `approved`
            expiry_date is set to one year from now
        """
        self.expiry_date = now() + timedelta(
            days=settings.VERIFY_STUDENT["DAYS_GOOD_FOR"]
        )
        super(SoftwareSecurePhotoVerification, self).approve(user_id, service)