Skip to content

Commit

Permalink
Fix: Fix issue moesnow#341
Browse files Browse the repository at this point in the history
  • Loading branch information
penguinway committed Nov 8, 2024
1 parent 4d7345f commit 01c0502
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions module/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def get_value(self, key, default=None):

def set_value(self, key, value):
"""设置配置项的值并保存"""
self._load_config()
self.config[key] = value
self.save_config()

Expand Down

0 comments on commit 01c0502

Please sign in to comment.