From e5f46dc4c638831e18c9e26daadea26dcb0140d2 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Sat, 7 Nov 2020 13:17:50 +0100 Subject: [PATCH] fix is text --- dotdrop/templategen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dotdrop/templategen.py b/dotdrop/templategen.py index e376462..971dd61 100644 --- a/dotdrop/templategen.py +++ b/dotdrop/templategen.py @@ -167,6 +167,8 @@ class Templategen: out = fileoutput.lower() if out.startswith('text'): return True + if 'text' in out: + return True if 'empty' in out: return True if 'json' in out: