Skip to content

Commit 9769fad

Browse files
author
Lyubomir Atanasov
authored
Merge pull request #14 from mailjet/fix-issue-#13
Fix issue #13
2 parents 31056f0 + ff4c06a commit 9769fad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mailjet_rest/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Config(object):
1515
API_URL = 'https://api.mailjet.com/'
1616
API_REF = 'http://dev.mailjet.com/email-api/v3/'
1717
version = 'v3'
18-
user_agent = 'mailjet-apiv3-python/' + get_version()
18+
user_agent = 'mailjet-apiv3-python/v' + get_version()
1919

2020
def __init__(self, version=None):
2121
if version is not None:

mailjet_rest/utils/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ def get_version(version=None):
1010
version = VERSION
1111
else:
1212
assert len(version) == 3
13-
return 'v{0}.{1}.{2}'.format(*(x for x in version))
13+
return '{0}.{1}.{2}'.format(*(x for x in version))

0 commit comments

Comments
 (0)