1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-16 12:51:11 +00:00

fix empty ignore patterns

This commit is contained in:
deadc0de6
2023-09-18 15:11:24 +02:00
parent cdb9b7e983
commit 9953f07ba7

View File

@@ -54,6 +54,7 @@ class Importer:
self.log = Logger(debug=self.debug)
# patch ignore patterns
if ignore:
for ign in ignore:
if ign.startswith('!'):
self.ignore.append(ign)