From e98191ffa861ee58bc8778e5f281326dee3d8e8c Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Wed, 7 Feb 2018 10:27:55 +0100 Subject: [PATCH] fix bug with compare --- dotdrop/dotdrop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotdrop/dotdrop.py b/dotdrop/dotdrop.py index 6840bcf..c4b2748 100644 --- a/dotdrop/dotdrop.py +++ b/dotdrop/dotdrop.py @@ -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)