Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadow15510 committed Nov 14, 2020
1 parent 6b2f093 commit 8f5ecae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/wikibot_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def get_start(source_code, index = 0):
if end == -1: return None
start = end
while not source_code[start].isupper(): start -= 1
return text_formater(source_code[start: end])
return text_formater(source_code[start: end])

def get_end(source_code, index = 0):
start = 10 + source_code.find(' alttext="', source_code.find('<span class="mwe-math-element">', index))
Expand Down

0 comments on commit 8f5ecae

Please sign in to comment.