hplgit / doconce

Lightweight markup language - document once, include anywhere
http://hplgit.github.io/doconce/doc/web/index.html
Other
311 stars 60 forks source link

Set filetype unknown if explicit envir #82

Closed dragly closed 8 years ago

dragly commented 8 years ago

Currently doconce.py crashes at line 1466 if filetype is not set, which can be the case if envir is set explicitly. This commit sets the filetype to "unknown" in that case. This might not be the correct value for the filetype, but it avoids the crash.