Better support of python3 in Helper.py

pull/151/head
Sami Mokaddem 2017-11-20 14:55:36 +01:00
parent 1e76e10c01
commit e0b188c069
1 changed files with 5 additions and 1 deletions

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