fixed configuration parser
This commit is contained in:
parent
bc055a8dfa
commit
2340a2f601
@ -289,7 +289,7 @@ def weed_snapshots(fslist, snapshots, config, failed_snapshots):
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
config = configparser.ConfigParser()
|
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']
|
ret = RET_CODES['SUCCESS']
|
||||||
log = logging.getLogger(LOGGER)
|
log = logging.getLogger(LOGGER)
|
||||||
|
Loading…
Reference in New Issue
Block a user