use ConfigParser instead of SafeConfigParser

This commit is contained in:
Fredrik Eriksson 2020-07-05 16:32:49 +02:00
parent 53ccab0f0a
commit 3cbeaa887f
Signed by: feffe
GPG Key ID: 18524638BE25530A

View File

@ -287,7 +287,7 @@ def weed_snapshots(fslist, snapshots, config, failed_snapshots):
def main(): def main():
config = configparser.SafeConfigParser() config = configparser.ConfigParser()
config.read('/etc/zsnapper.ini') config.read('/etc/zsnapper.ini')
ret = RET_CODES['SUCCESS'] ret = RET_CODES['SUCCESS']
log = logging.getLogger(LOGGER) log = logging.getLogger(LOGGER)