diff options
author | Michael Maltese <mike@mikemaltese.com> | 2011-07-11 12:27:12 -0700 |
---|---|---|
committer | Michael Maltese <mike@mikemaltese.com> | 2011-07-11 12:27:45 -0700 |
commit | 519825ecefcb9a32038770ca13393a2a039e901f (patch) | |
tree | fb1223f1c079ab639df931df8d6035de77a37c07 | |
parent | c4a5417b37cebcf14861071d42b6276eeaf93936 (diff) | |
download | pycco-519825ecefcb9a32038770ca13393a2a039e901f.tar.gz |
Allow sections with one empty section and one non-empty section (fixes commit bcb8f2c5f5a5adaee51e)
-rw-r--r-- | pycco/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |