diff --git a/Mopy/bash/bosh/bain.py b/Mopy/bash/bosh/bain.py index daa5453187d..d856366d889 100644 --- a/Mopy/bash/bosh/bain.py +++ b/Mopy/bash/bosh/bain.py @@ -2547,7 +2547,7 @@ def clean_data_dir(self, refresh_ui): # Keep both versions of the BP doc (.txt and .html) keepFiles.add((bolt.CIstr('%s' % bp_doc))) keepFiles.add((bolt.CIstr( - bp_doc.root.s + (u'.txt' if bp_doc.cext == u'.txt' + bp_doc.root.s + (u'.txt' if bp_doc.cext == u'.html' else u'.html')))) keepFiles.update((bolt.CIstr(f) for f in bush.game.wryeBashDataFiles)) keepFiles.update((bolt.CIstr(f) for f in bush.game.ignoreDataFiles))