mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 11:59:15 +00:00
fix bug with compare
This commit is contained in:
@@ -308,7 +308,7 @@ def main():
|
|||||||
tmp = get_tmpdir()
|
tmp = get_tmpdir()
|
||||||
opts['dopts'] = args['--dopts']
|
opts['dopts'] = args['--dopts']
|
||||||
ret = compare(opts, conf, tmp, args['--files'])
|
ret = compare(opts, conf, tmp, args['--files'])
|
||||||
if ret:
|
if os.listdir(tmp):
|
||||||
LOG.raw('\ntemporary files available under %s' % (tmp))
|
LOG.raw('\ntemporary files available under %s' % (tmp))
|
||||||
else:
|
else:
|
||||||
os.rmdir(tmp)
|
os.rmdir(tmp)
|
||||||
|
|||||||
Reference in New Issue
Block a user