From d33cd99c1729875aa2018f69e9215db8e75b6f45 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 11 Feb 2014 23:59:24 +0100 Subject: [PATCH] py3k fix. --- blogtopoid/commands.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/blogtopoid/commands.py b/blogtopoid/commands.py index 883780b..5773221 100644 --- a/blogtopoid/commands.py +++ b/blogtopoid/commands.py @@ -6,7 +6,10 @@ from __future__ import absolute_import import os import sys import codecs -import ConfigParser +try: + import ConfigParser +except ImportError: + import configparser as ConfigParser import pkg_resources from .blogtopoid import (Config, generate_index, generate_feed,