Update to v7.55.0

This commit is contained in:
aapanel.com
2025-11-07 15:30:29 +08:00
parent c32414993f
commit b6e4ab8b35
1243 changed files with 48469 additions and 87603 deletions
+1 -19
View File
@@ -91,25 +91,7 @@ class main(dockerBase):
@param get:
@return:
'''
project_info = []
try:
if not os.path.exists(self.info_path):
down_info = self.__download_info(self.info_path)
if not down_info["status"]:
return public.return_message(0, 0, project_info)
project_info = json.loads(public.readFile(self.info_path))
project_info.sort(key=lambda x: x["sort"])
if not os.path.exists(self.__first_pl):
sync_result = self.__first_sync_item(project_info)
for result in sync_result:
if result.get("successes") and result["successes"] <= 0:
return public.return_message(0, 0, project_info)
public.ExecShell("echo \"first\" > {}".format(self.__first_pl))
except Exception as e:
project_info = []
project_info = self._get_project_list(get)
return public.return_message(0, 0, project_info)