mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 06:13:19 -07:00
fix positional argument follows keyword argument
This commit is contained in:
parent
ca03bc49ef
commit
5993009fbc
1 changed files with 1 additions and 1 deletions
|
@ -928,7 +928,7 @@ def transcode_directory(dir_name):
|
||||||
result = 1 # set result to failed in case call fails.
|
result = 1 # set result to failed in case call fails.
|
||||||
try:
|
try:
|
||||||
if isinstance(file, string_types):
|
if isinstance(file, string_types):
|
||||||
proc = subprocess.Popen(command, stdout=bitbucket, subprocess.PIPE)
|
proc = subprocess.Popen(command, stdout=bitbucket, stderr=subprocess.PIPE)
|
||||||
else:
|
else:
|
||||||
img, data = next(iteritems(file))
|
img, data = next(iteritems(file))
|
||||||
proc = subprocess.Popen(command, stdout=bitbucket, stderr=subprocess.PIPE, stdin=subprocess.PIPE)
|
proc = subprocess.Popen(command, stdout=bitbucket, stderr=subprocess.PIPE, stdin=subprocess.PIPE)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue