fixed configuration parser

This commit is contained in:
Fredrik Eriksson 2020-12-21 17:57:18 +01:00
parent bc055a8dfa
commit 2340a2f601
Signed by: feffe
GPG Key ID: F4329687B0FA7F8D
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -6,7 +6,7 @@ try:
except ImportError:
from distutils import setup
version = '0.3.2'
version = '0.3.3'
setup(
name='zsnapper',