diff --git a/zhenxun/utils/repo_utils/file_manager.py b/zhenxun/utils/repo_utils/file_manager.py index 53797bd6..43a87a7b 100644 --- a/zhenxun/utils/repo_utils/file_manager.py +++ b/zhenxun/utils/repo_utils/file_manager.py @@ -207,13 +207,13 @@ class RepoFileManager: ) if repo_type is None: try: - return await self.get_github_file_content( - repo_url, file_path, ignore_error - ) - except Exception: return await self.get_aliyun_file_content( repo_name, file_path, branch, ignore_error ) + except Exception: + return await self.get_github_file_content( + repo_url, file_path, ignore_error + ) try: if repo_type == RepoType.GITHUB: