From 519825ecefcb9a32038770ca13393a2a039e901f Mon Sep 17 00:00:00 2001 From: Michael Maltese Date: Mon, 11 Jul 2011 12:27:12 -0700 Subject: Allow sections with one empty section and one non-empty section (fixes commit bcb8f2c5f5a5adaee51e) --- pycco/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycco/main.py b/pycco/main.py index e3e81ad..0a06b86 100644 --- a/pycco/main.py +++ b/pycco/main.py @@ -67,7 +67,7 @@ def parse(source, code): def save(docs, code): - if docs and code: + if docs or code: sections.append({ "docs_text": docs, "code_text": code -- cgit v1.2.1