(self)
| 50 | logger.error('The Seebug api token is incorrect, Please enter the correct api token.') |
| 51 | |
| 52 | def write_conf(self): |
| 53 | if not self.parser.has_section('Seebug'): |
| 54 | self.parser.add_section('Seebug') |
| 55 | try: |
| 56 | self.parser.set('Seebug', 'token', self.token) |
| 57 | self.parser.write(open(self.conf_path, 'w')) |
| 58 | except Exception as ex: |
| 59 | logger.error(str(ex)) |
| 60 | |
| 61 | def get_available_pocs(self): |
| 62 | return self.pocs |