Skip to content

Commit

Permalink
Merge 8d302d3 into b1c79f9
Browse files Browse the repository at this point in the history
  • Loading branch information
paalbra committed Aug 1, 2019
2 parents b1c79f9 + 8d302d3 commit 274439d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymisp/aping.py
Original file line number Diff line number Diff line change
Expand Up @@ -1841,7 +1841,7 @@ def _prepare_request(self, request_type: str, url: str, data: dict={}, params: d
url = f'{url}/{to_append_url}'
req = requests.Request(request_type, url, data=data, params=params)
with requests.Session() as s:
user_agent = 'PyMISP {__version__} - Python {".".join(str(x) for x in sys.version_info[:2])}'
user_agent = f'PyMISP {__version__} - Python {".".join(str(x) for x in sys.version_info[:2])}'
if self.tool:
user_agent = f'{user_agent} - {self.tool}'
req.auth = self.auth
Expand Down

0 comments on commit 274439d

Please sign in to comment.