Skip to content

Commit

Permalink
Fix Clean Data removing one of the BP docs
Browse files Browse the repository at this point in the history
🤦
  • Loading branch information
Infernio authored and Utumno committed Apr 17, 2020
1 parent 7e2cf20 commit c657540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mopy/bash/bosh/bain.py
Expand Up @@ -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))
Expand Down

1 comment on commit c657540

@Utumno
Copy link
Member

@Utumno Utumno commented on c657540 Apr 17, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha it actually renders it

Please sign in to comment.