Skip to content

Commit

Permalink
Update Data.py
Browse files Browse the repository at this point in the history
  • Loading branch information
meng877 authored Jul 20, 2024
1 parent f9f9ff9 commit 3db0a75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions BotServer/Scripts/Managers/Data.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def load(self):
with player_file.open(encoding='Utf-8', mode='r') as file:
self.players = load(file)
logger.success('加载数据文件完毕!')
return None
logger.warning('服务器信息文件不存在,正在创建服务器信息文件……')
self.save()

Expand Down

0 comments on commit 3db0a75

Please sign in to comment.