Skip to content

Commit

Permalink
Merge pull request #1198 from Niwreg/develop
Browse files Browse the repository at this point in the history
added extra check for the filebase dir not to start with an .
  • Loading branch information
TheJackiMonster authored Dec 7, 2023
2 parents cf4ff9f + 8a5dd11 commit 5f3933b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manuskript/load_save/version_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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] == ".":
Expand Down

0 comments on commit 5f3933b

Please sign in to comment.