Merge branch 'master' of github.com:MISP/PyMISP

pull/41/head
Raphaël Vinot 2017-01-19 19:07:36 -05:00
commit 9cc3c6e57d
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ python last.py -l 10
## Documentation
[PyMISP API documentation is available](http://www.circl.lu/assets/files/PyMISP.pdf).
[PyMISP API documentation is available](https://media.readthedocs.org/pdf/pymisp/master/pymisp.pdf).
Documentation can be generated with epydoc:

View File

@ -1012,7 +1012,7 @@ class PyMISP(object):
# ############## Export Attributes in text ####################################
def get_all_attributes_txt(self, type_attr):
"""Get all attributes from a specific type as plain text. Only published and IDS flagged attributes are exported."""
session = self.__prepare_session('txt')
url = urljoin(self.root_url, 'attributes/text/download/%s' % type_attr)
response = session.get(url)