mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-02 03:52:22 +12:00
added extra check for the filebase dir not to start with an .
This commit is contained in:
parent
6ee7e881be
commit
8a5dd11075
|
@ -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