mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-14 17:04:33 +12:00
Merge pull request #1198 from Niwreg/develop
added extra check for the filebase dir not to start with an .
This commit is contained in:
commit
5f3933bde2
|
@ -678,6 +678,9 @@ def loadProject(project, zip=None):
|
||||||
# Skip directories that begin with a period
|
# Skip directories that begin with a period
|
||||||
if p[:1] == ".":
|
if p[:1] == ".":
|
||||||
continue
|
continue
|
||||||
|
#skip if the basedir of the file starts with an .
|
||||||
|
if os.path.basename(p)[:1] == ".":
|
||||||
|
continue
|
||||||
for f in filenames:
|
for f in filenames:
|
||||||
# Skip filenames that begin with a period
|
# Skip filenames that begin with a period
|
||||||
if f[:1] == ".":
|
if f[:1] == ".":
|
||||||
|
|
Loading…
Reference in a new issue