Update api.py

minor typo, can;t help it noticing those. sorry,
pull/517/head
AaronK 2020-01-15 17:26:08 +01:00 committed by GitHub
parent 33f3fe4c77
commit c0d375473a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1035,7 +1035,7 @@ class PyMISP:
def add_server(self, server: MISPServer, pythonify: bool=False) -> Union[dict, MISPServer]:
"""Add a server to synchronise with.
Note: You probably fant to use ExpandedPyMISP.get_sync_config and ExpandedPyMISP.import_server instead"""
Note: You probably want to use ExpandedPyMISP.get_sync_config and ExpandedPyMISP.import_server instead"""
server = self._prepare_request('POST', f'servers/add', data=server)
server = self._check_response(server, expect_json=True)
if not (self.global_pythonify or pythonify) or 'errors' in server: