Skip to content

Commit

Permalink
Update H萌化.py
Browse files Browse the repository at this point in the history
修复文件问题
  • Loading branch information
SnowDream39 authored Jan 26, 2023
1 parent 1e26b3d commit c93f5a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion H萌化.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
o=original.readline()
i=0
while i < len(o):
if o[i:i+2]=='[[':
if o[i:i+2]=='[[' \
and not (o[i+2:i+7]=='File:' or o[i+2:i+7]=='file:'or o[i+2:i+5]=='文件:'):
after.write('{{萌百|')
i+=2
while o[i:i+2]!=']]':
Expand Down

0 comments on commit c93f5a0

Please sign in to comment.