From 8d302d3ea6a9afb2cf7f95a320e290aa944119a3 Mon Sep 17 00:00:00 2001 From: Paal Braathen Date: Thu, 1 Aug 2019 15:45:43 +0200 Subject: [PATCH] Fix missing f in f-string Fixes: #429 --- pymisp/aping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymisp/aping.py b/pymisp/aping.py index 5f0e64d..ed3e2c4 100644 --- a/pymisp/aping.py +++ b/pymisp/aping.py @@ -1841,7 +1841,7 @@ class ExpandedPyMISP(PyMISP): 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