Better support of python3 in Helper.py

This commit is contained in:
Sami Mokaddem 2017-11-20 14:55:36 +01:00
parent 1e76e10c01
commit e0b188c069

View file

@ -12,7 +12,11 @@ the same Subscriber name in both of them.
""" """
import redis import redis
try: # dirty to support python3
import ConfigParser import ConfigParser
except:
import configparser
ConfigParser = configparser
import os import os
import zmq import zmq
import time import time