1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 01:34:42 +00:00

fix bug with compare

This commit is contained in:
deadc0de6
2018-02-07 10:27:55 +01:00
parent 39d7dbbe24
commit e98191ffa8

View File

@@ -308,7 +308,7 @@ def main():
tmp = get_tmpdir()
opts['dopts'] = args['--dopts']
ret = compare(opts, conf, tmp, args['--files'])
if ret:
if os.listdir(tmp):
LOG.raw('\ntemporary files available under %s' % (tmp))
else:
os.rmdir(tmp)