mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-26 15:57:16 +00:00
Better support of python3 in Helper.py
This commit is contained in:
parent
1e76e10c01
commit
e0b188c069
1 changed files with 5 additions and 1 deletions
|
@ -12,7 +12,11 @@ the same Subscriber name in both of them.
|
|||
|
||||
"""
|
||||
import redis
|
||||
import ConfigParser
|
||||
try: # dirty to support python3
|
||||
import ConfigParser
|
||||
except:
|
||||
import configparser
|
||||
ConfigParser = configparser
|
||||
import os
|
||||
import zmq
|
||||
import time
|
||||
|
|
Loading…
Reference in a new issue