修复初始设置的异常
This commit is contained in:
@@ -2368,7 +2368,7 @@ class Main(QWidget):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
# 验证MAA路径
|
# 验证MAA路径
|
||||||
if self.config["Default"]["MaaSet.path"] != os.path.normpath(
|
if os.path.normpath(self.config["Default"]["MaaSet.path"]) != os.path.normpath(
|
||||||
self.maa_path.text()
|
self.maa_path.text()
|
||||||
):
|
):
|
||||||
if os.path.exists(
|
if os.path.exists(
|
||||||
@@ -2561,6 +2561,8 @@ class Main(QWidget):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def timed_start(self):
|
def timed_start(self):
|
||||||
|
"""定时启动代理任务"""
|
||||||
|
|
||||||
# 获取定时列表
|
# 获取定时列表
|
||||||
time_set = [
|
time_set = [
|
||||||
self.config["Default"][f"TimeSet.run{_ + 1}"]
|
self.config["Default"][f"TimeSet.run{_ + 1}"]
|
||||||
|
|||||||
Reference in New Issue
Block a user