Merge branch 'master' into dev_0.6

This commit is contained in:
Veronica K. B. Olsen committed 2020-05-17 00:23:45 +02:00
commit 3a199b79c9
14 files changed
+377 -129

No files matched your search

+2
View File
@@ -73,6 +73,8 @@ class NWDoc():
"""Open a document from handle, capturing potential file system
errors and parse meta data.
"""
# Always clear first, since the object will often be reused.
self.clearDocument()
self.docHandle = tHandle
if not isOrphan:
-1
View File
@@ -975,7 +975,6 @@ class NWProject():
oName = ""
if aDoc.openDocument(oHandle, showStatus=False, isOrphan=True):
oName, oPath = aDoc.getMeta()
aDoc.clearDocument()
if oName == "":
nOrph += 1