diff --git a/OTXv2.py b/OTXv2.py index 77164f3..9c14f6f 100755 --- a/OTXv2.py +++ b/OTXv2.py @@ -111,7 +111,7 @@ class OTXv2(object): self.request_session = None self.headers = { 'X-OTX-API-KEY': self.key, - 'User-Agent': user_agent or 'OTX Python {}/1.5.11'.format(project), + 'User-Agent': user_agent or 'OTX Python {}/1.5.12'.format(project), 'Content-Type': 'application/json' } diff --git a/setup.py b/setup.py index 1a88bd7..e5c35c1 100644 --- a/setup.py +++ b/setup.py @@ -5,12 +5,12 @@ from setuptools import setup setup( name='OTXv2', - version='1.5.11', + version='1.5.12', description='AlienVault OTX API', author='AlienVault Team', author_email='otx@alienvault.com', url='https://github.com/AlienVault-Labs/OTX-Python-SDK', - download_url='https://github.com/AlienVault-Labs/OTX-Python-SDK/tarball/1.5.10', + download_url='https://github.com/AlienVault-Labs/OTX-Python-SDK/tarball/1.5.12', py_modules=['OTXv2', 'IndicatorTypes','patch_pulse'], install_requires=['requests', 'python-dateutil', 'pytz'] ) diff --git a/tests/test_client.py b/tests/test_client.py index 265fb7c..9c3459f 100755 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -940,7 +940,7 @@ class TestRequests(TestOTXv2): def test_user_agent(self): o = OTXv2(self.api_key, server=ALIEN_DEV_SERVER, project='foo') - self.assertEqual(o.headers['User-Agent'], 'OTX Python foo/1.5.11') + self.assertEqual(o.headers['User-Agent'], 'OTX Python foo/1.5.12') o = OTXv2(self.api_key, server=ALIEN_DEV_SERVER, user_agent='foo') self.assertEqual(o.headers['User-Agent'], 'foo')