Skip to content

Commit

Permalink
fix: update shared.opts.data when add_otpion
Browse files Browse the repository at this point in the history
Signed-off-by: AnyISalIn <[email protected]>
  • Loading branch information
AnyISalIn committed Sep 1, 2023
1 parent d39440b commit 81f4868
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ def dumpjson(self):

def add_option(self, key, info):
self.data_labels[key] = info
self.data[key] = info.default

def reorder(self):
"""reorder settings so that all items related to section always go together"""
Expand Down

0 comments on commit 81f4868

Please sign in to comment.