mirror of
https://git.securmail.fr/gizmo/python-module-pgsql.git
synced 2024-12-21 17:24:42 +01:00
BTA : update __init__ for deprecated method
This commit is contained in:
parent
b98ac71235
commit
583b5ba46b
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue