From 1166cc22e23bf6aeaeee3900cb260df43030b896 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Fri, 8 Mar 2019 08:26:18 +0100 Subject: [PATCH] handle broken symlink --- dotdrop/dotdrop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotdrop/dotdrop.py b/dotdrop/dotdrop.py index 4a7ea1d..9163af6 100644 --- a/dotdrop/dotdrop.py +++ b/dotdrop/dotdrop.py @@ -205,7 +205,7 @@ def cmd_importer(o): for path in paths: if o.debug: LOG.dbg('trying to import {}'.format(path)) - if not os.path.lexists(path): + if not os.path.exists(path): LOG.err('\"{}\" does not exist, ignored!'.format(path)) ret = False continue