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

Commit013ee83

Browse files
committed
Changing how as_test is set
1 parent8036f3a commit013ee83

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎zencoder/core.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,7 @@ def create(self, input, outputs=None, options=None):
237237
@param outputs: a list of output dictionaries
238238
@param options: a dictionary of job options
239239
"""
240-
as_test=0
241-
if (self.test):
242-
as_test=1
240+
as_test=int(self.test)
243241

244242
data= {"api_key":self.api_key,"input":input,"test":as_test}
245243
ifoutputs:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp