Fix a potential bug
This commit is contained in:
@@ -187,7 +187,7 @@ class NWProject:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
newDoc = NWDoc(self, tHandle)
|
newDoc = NWDoc(self, tHandle)
|
||||||
if newDoc.readDocument().strip():
|
if (newDoc.readDocument() or "").strip():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
hshText = "#"*minmax(hLevel, 1, 4)
|
hshText = "#"*minmax(hLevel, 1, 4)
|
||||||
|
|||||||
Reference in New Issue
Block a user