From 1555219e7dba761a2db2c1bd332f162eda77b9b3 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Wed, 25 Mar 2015 19:20:48 -0400 Subject: [PATCH] Fix for workaround -- pushing was broken in auto mode. D'oh! Reported by "spoole100". --- plugins/video/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/video/video.py b/plugins/video/video.py index f20592f..2fce2be 100644 --- a/plugins/video/video.py +++ b/plugins/video/video.py @@ -419,7 +419,7 @@ class BaseVideo(Plugin): force_alpha = container.getboolean('force_alpha') ar = container.get('allow_recurse', 'auto').lower() if ar == 'auto': - allow_recurse = tsn[0] < '7' + allow_recurse = not tsn or tsn[0] < '7' else: allow_recurse = ar in ('1', 'yes', 'true', 'on') use_html = query.get('Format', [''])[0].lower() == 'text/html' -- 2.11.4.GIT