Merge pull request #1198 from Niwreg/develop

added extra check for the filebase dir not to start with an .
This commit is contained in:
Tobias Frisch 2023-12-07 15:07:14 +01:00 committed by GitHub
commit 5f3933bde2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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] == ".":