mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 00:07: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 redis
|
||||||
import ConfigParser
|
try: # dirty to support python3
|
||||||
|
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