added extra check for the filebase dir not to start with an .

This commit is contained in:
Gerwin van der Kamp 2023-08-12 02:39:48 +02:00
parent 6ee7e881be
commit 8a5dd11075

View file

@ -678,6 +678,9 @@ def loadProject(project, zip=None):
# Skip directories that begin with a period
if p[:1] == ".":
continue
#skip if the basedir of the file starts with an .
if os.path.basename(p)[:1] == ".":
continue
for f in filenames:
# Skip filenames that begin with a period
if f[:1] == ".":