Skip to content
代码片段 群组 项目
提交 d1ff57e1 编辑于 作者: w-e-w's avatar w-e-w
浏览文件

1.1.1 quicksettings list migration

上级 ad6ec022
No related branches found
No related tags found
无相关合并请求
......@@ -549,6 +549,10 @@ class Options:
with open(filename, "r", encoding="utf8") as file:
self.data = json.load(file)
# 1.1.1 quicksettings list migration
if self.data.get('quicksettings') is not None and self.data.get('quicksettings_list') is None:
self.data['quicksettings_list'] = [i.strip() for i in self.data.get('quicksettings').split(',')]
bad_settings = 0
for k, v in self.data.items():
info = self.data_labels.get(k, None)
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册