found a bug in distro selection

This commit is contained in:
brent s. 2020-06-24 00:59:14 -04:00
parent 0ff9af4c48
commit 0e16214e45
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -338,6 +338,7 @@ class Sync(object):
if e is None:
_logger.error('Could not find specified distro {0}; skipping'.format(d))
continue
e = e[0]
logger.filehandler.close()
logger.filehandler.baseFilename = os.path.join(self.logdir, '{0}.log'.format(e.attrib['name']))
distro = Distro(e[0])