There was an error while loading. Please reload this page.
1 parent e62e39c commit f7b4a8cCopy full SHA for f7b4a8c
1 file changed
CloudFlare/utils.py
@@ -2,7 +2,8 @@
2
from __future__ import absolute_import
3
4
import sys
5
-import requests
+import json
6
+from requests import __version__ as requests__version__
7
8
from . import __version__
9
@@ -11,7 +12,7 @@ def user_agent():
11
12
# the default User-Agent is something like 'python-requests/2.11.1'
13
# this additional data helps support @ Cloudflare help customers
14
return ('python-cloudflare/' + __version__ + '/' +
- 'python-requests/' + str(requests.__version__) + '/' +
15
+ 'python-requests/' + str(requests__version__) + '/' +
16
'python/' + '.'.join(map(str, sys.version_info[:3]))
17
)
18
0 commit comments