BTA : update __init__ for deprecated method

This commit is contained in:
Boris Tassou 2022-03-30 09:33:06 +02:00
parent b98ac71235
commit 583b5ba46b
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
# */
import sys
from configparser import SafeConfigParser
from configparser import ConfigParser
# Global name
__version__ = '1.0'
@ -27,7 +27,7 @@ except ImportError:
try:
INI_CONF = "./config/conf.ini"
CONFIG = SafeConfigParser()
CONFIG = ConfigParser()
CONFIG.read(INI_CONF)
except CONFIG.Error as error:
print(error)