Bug fix: get_index now works properly and return the events index

An bug was introduced and appending "{}" to the /index url which
gives a 404 on a MISP server.
pull/2/merge
Alexandre Dulaunoy 2015-07-30 14:20:41 +00:00
parent 2c8c4abe09
commit e0b781c033
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class PyMISP(object):
Warning, there's a limit on the number of results Warning, there's a limit on the number of results
""" """
session = self.__prepare_session() session = self.__prepare_session()
return session.get(self.rest) return session.get(self.url)
def get_event(self, event_id): def get_event(self, event_id):
""" """