mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +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 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
|
||||||
|
|
Loading…
Reference in a new issue