diff options
Diffstat (limited to 'helpcontent2')
-rwxr-xr-x | helpcontent2/to-wiki/getalltitles.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpcontent2/to-wiki/getalltitles.py b/helpcontent2/to-wiki/getalltitles.py index 793465f2fc..97e2649ee8 100755 --- a/helpcontent2/to-wiki/getalltitles.py +++ b/helpcontent2/to-wiki/getalltitles.py @@ -59,7 +59,7 @@ def get_module(text): def replace_text(text): for i in replace_text_list: - while text.find(i[0]) >= 0: + if text.find(i[0]) >= 0: text = text.replace(i[0],i[1]) return text |