Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd74d9fc

Browse files
committed
bump to v0.5.2
1 parent8c07f08 commitd74d9fc

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
fromdistutils.coreimportsetup
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='alex.schworer@gmail.com',

‎zencoder/core.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
importhttplib2
33
fromurllibimporturlencode
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
returnheaders

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp