mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-02 20:12:24 +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
|
||||
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] == ".":
|
||||
|
|
Loading…
Reference in a new issue