Merge branch 'master' into dev_0.6

This commit is contained in:
Veronica K. B. Olsen
2020-05-17 00:23:45 +02:00
14 changed files with 377 additions and 129 deletions
+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