From 2340a2f6019f47beeeac46ddc9754c33705de246 Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Mon, 21 Dec 2020 17:57:18 +0100 Subject: [PATCH] fixed configuration parser --- bin/zsnapper | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/zsnapper b/bin/zsnapper index 5a2e9e5..1aac771 100644 --- a/bin/zsnapper +++ b/bin/zsnapper @@ -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) diff --git a/setup.py b/setup.py index d85e9fc..627ebbd 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ try: except ImportError: from distutils import setup -version = '0.3.2' +version = '0.3.3' setup( name='zsnapper',