Fix a bug in parsing orphaned file names

This commit is contained in:
Veronica K. B. Olsen
2021-02-16 00:38:15 +01:00
parent 8db140fe89
commit 7b7bf5d390
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1397,7 +1397,7 @@ class NWProject():
if oName:
oName = self.tr("[{0}] {1}").format(
oPrefix, oName.strip("[%s]" % oPrefix).strip()
oPrefix, oName.replace("[%s]" % oPrefix, "").strip()
)
else:
nOrph += 1