Skip to content

Commit

Permalink
update re-expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuziyi616 committed Apr 22, 2021
1 parent 8795e84 commit 173cb53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/stat.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
if len(ckpts) == 0:
continue

_papertype = [x for x in re.findall(r'\[([A-Z]+)\]', content)]
_papertype = [x for x in re.findall(r'<!-- \[([A-Z]+)\] -->', content)]
assert len(_papertype) > 0
papertype = _papertype[0]

Expand Down

0 comments on commit 173cb53

Please sign in to comment.