Make NWDoc class non-reusable
This commit is contained in:
+2
-2
@@ -115,8 +115,8 @@ class NWIndex():
|
||||
if tItem.itemType != nwItemType.FILE:
|
||||
return False
|
||||
|
||||
theDoc = NWDoc(self.theProject)
|
||||
theText = theDoc.readDocument(tHandle)
|
||||
theDoc = NWDoc(self.theProject, tHandle)
|
||||
theText = theDoc.readDocument()
|
||||
if theText:
|
||||
self.scanText(tHandle, theText)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user