made py 3 compatable

This commit is contained in:
Derek DeJonghe
2018-05-23 15:41:35 -04:00
parent 09f2d0a941
commit ff40fc8ea3
2 changed files with 12 additions and 4 deletions

View File

@ -1,4 +1,8 @@
from ConfigParser import ConfigParser
try:
from configparser import ConfigParser
except ImportError:
# Python < 3
from ConfigParser import ConfigParser
def get_version():