From b3cf175a342591638cfbcdb577b594f21181a223 Mon Sep 17 00:00:00 2001 From: andras86 Date: Sat, 29 Oct 2016 17:38:16 +0200 Subject: [PATCH] configparser import different in Python 2 & 3 --- OptiTypePipeline.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OptiTypePipeline.py b/OptiTypePipeline.py index 2d7c85d..f5f3e2d 100755 --- a/OptiTypePipeline.py +++ b/OptiTypePipeline.py @@ -111,7 +111,10 @@ import subprocess import os import argparse -import configparser +try: + import configparser +except ImportError: + import ConfigParser as configparser import time import datetime import pandas as pd