Skip to content

Commit

Permalink
修复用户记录读取错误
Browse files Browse the repository at this point in the history
  • Loading branch information
lunzhiPenxil committed Nov 15, 2021
1 parent 9ca9b8c commit 0618479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OlivaDiceCore/userConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def readUserConfig():
if userHash not in dictUserConfigData:
dictUserConfigData[userHash] = {}
with open(userConfigDataPath, 'r', encoding = 'utf-8') as userConfigDataPath_f:
dictUserConfigData[userHash][botHash] = json.loads(userConfigDataPath_f.read())
dictUserConfigData[userHash] = json.loads(userConfigDataPath_f.read())

def dataUserConfigLoadAll():
global gMsgCount
Expand Down

0 comments on commit 0618479

Please sign in to comment.