mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-06 01:28:04 +00:00
ensure source dotfile exists
This commit is contained in:
@@ -43,6 +43,8 @@ class Comparator:
|
||||
|
||||
def _comp_dir(self, left, right, ignore):
|
||||
"""compare a directory"""
|
||||
if not os.path.exists(right):
|
||||
return ''
|
||||
if self._ignore([left, right], ignore):
|
||||
if self.debug:
|
||||
self.log.dbg('ignoring diff {} and {}'.format(left, right))
|
||||
|
||||
Reference in New Issue
Block a user