1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 09:43:49 +00:00

handle broken symlink

This commit is contained in:
deadc0de6
2019-03-08 08:26:18 +01:00
parent 49dc1b34a2
commit 1166cc22e2

View File

@@ -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