aboutsummaryrefslogtreecommitdiffstats
path: root/bin/markdown_py
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2010-07-06 13:46:50 -0400
committerWaylan Limberg <waylan@gmail.com>2010-07-06 13:46:50 -0400
commit543027d73f2d9bf66fc8b56c18acfd1c987b1a8d (patch)
tree1b20bb3051cd076d2f0f14ec5ca844cf41c5bbff /bin/markdown_py
parent2c19f4e047b70a17d74e976b0cfd35b5c0340a33 (diff)
downloadmarkdown-543027d73f2d9bf66fc8b56c18acfd1c987b1a8d.tar.gz
markdown-543027d73f2d9bf66fc8b56c18acfd1c987b1a8d.tar.bz2
markdown-543027d73f2d9bf66fc8b56c18acfd1c987b1a8d.zip
Updated commandline script as logging settings are no longer in markdown/__init__.py
Diffstat (limited to 'bin/markdown_py')
-rwxr-xr-xbin/markdown_py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/markdown_py b/bin/markdown_py
index 8d04cc9..b34cb66 100755
--- a/bin/markdown_py
+++ b/bin/markdown_py
@@ -30,12 +30,11 @@ License: BSD (see docs/LICENSE for details).
"""
import logging
-from markdown import COMMAND_LINE_LOGGING_LEVEL
from markdown import commandline
# Setup a logger manually for compatibility with Python 2.3
logger = logging.getLogger('MARKDOWN')
-logger.setLevel(COMMAND_LINE_LOGGING_LEVEL)
+logger.setLevel(commandline.COMMAND_LINE_LOGGING_LEVEL)
logger.addHandler(logging.StreamHandler())
if __name__ == '__main__':