Skip to content

Commit

Permalink
fix rollout and game struct err (#177)
Browse files Browse the repository at this point in the history
Signed-off-by: acejilam <acejilam@gmail.com>
  • Loading branch information
ls-2018 committed Jun 20, 2024
1 parent 37cf3a1 commit a8dac79
Show file tree
Hide file tree
Showing 10 changed files with 827 additions and 824 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/diff.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import json
import markdown
import os.path
import re
import sys
from bs4 import BeautifulSoup
from collections import Counter
from html2markdown import convert

import language_tool_python
import markdown
from bs4 import BeautifulSoup
from html2markdown import convert

handler = {}
result = False
Expand All @@ -26,6 +27,11 @@
pre_dict = set(json.loads(f.read()))
except Exception:
pass
try:
with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'pre_dict.json'), 'w', encoding='utf8') as f:
f.write(json.dumps(sorted(pre_dict), ensure_ascii=False, indent=4))
except Exception:
pass


# pip install bs4 markdown html2markdown language-tool-python
Expand Down
Loading

0 comments on commit a8dac79

Please sign in to comment.