Skip to content

Commit

Permalink
Merge pull request #3 from eric2788/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
eric2788 authored Nov 15, 2021
2 parents 11112ca + 945bd4a commit c729105
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
env:
version: 0.1
version: 0.2
pyinstaller_version: 4.7
main: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/data/
/dist/
/build/
main.spec
start.bat
*.spec
build.bat
**/__pycache__/**
6 changes: 3 additions & 3 deletions config/mute.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bad_danmaku:
- '主播是个大伞兵'
- '主播你寄吧谁啊'
- '主播NMSL'
- 主播是个大伞兵
- 主播你寄吧谁啊
- 主播NMSL
2 changes: 1 addition & 1 deletion file_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def load_config(yml: str, default_values: dict) -> any:
default_values[k] = v
if default_values.keys() != data.keys():
with open(path, mode='w', encoding='utf-8') as f:
yaml.safe_dump(default_values, f)
yaml.safe_dump(default_values, f, allow_unicode=True)
return default_values

def load_default_config() -> any:
Expand Down

0 comments on commit c729105

Please sign in to comment.