5
0
Fork 0
mirror of https://git.securmail.fr/gizmo/python-module-pgsql.git synced 2024-12-22 04:24:43 +01:00

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

View file

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