Skip to content

Commit d74d9fc

Browse files
committed
bump to v0.5.2
1 parent 8c07f08 commit d74d9fc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from distutils.core import setup
33

44
setup(name='zencoder',
5-
version='0.5',
5+
version='0.5.2',
66
description='Integration library for Zencoder',
77
author='Alex Schworer',
88
author_email='[email protected]',

zencoder/core.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
import httplib2
33
from urllib import urlencode
44

5+
LIB_VERSION = '0.5.2'
6+
57
# Note: I've seen this pattern for dealing with json in different versions of
68
# python in a lot of modules -- if there's a better way, I'd love to use it.
79
try:
@@ -64,7 +66,7 @@ def headers(self):
6466
'Content-Type': 'application/{0}'.format(content_type),
6567
'Accepts': 'application/{0}'.format(content_type),
6668
'Zencoder-Api-Key': self.api_key,
67-
'User-Agent': 'zencoder-py'
69+
'User-Agent': 'zencoder-py v{0}'.format(LIB_VERSION)
6870
}
6971

7072
return headers

0 commit comments

Comments
 (0)