Use the "wait for" option properly. fix #3224

This commit is contained in:
Ruud
2014-05-09 11:46:32 +02:00
parent 24b822aecd
commit c2dcd2f67d
4 changed files with 9 additions and 11 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ class ProfilePlugin(Plugin):
order = 0
for type in kwargs.get('types', []):
profile['qualities'].append(type.get('quality'))
profile['wait_for'].append(tryInt(type.get('wait_for')))
profile['wait_for'].append(tryInt(kwargs.get('wait_for', 0)))
profile['finish'].append((tryInt(type.get('finish')) == 1) if order > 0 else True)
profile['3d'].append(tryInt(type.get('3d')))
order += 1