This commit is contained in:
2026-02-05 20:23:08 +11:00
parent e07bd7b3e5
commit a488dcb40e

View File

@@ -19,7 +19,7 @@ class RepoViewScreen(Screen):
super().__init__()
self.owner_name = owner_name
self.repo_name = repo_name
self.current_dir = "./src"
self.current_dir = "."
def get_icon_from_name_and_type(self, file_name: str, is_folder: bool):
@@ -139,7 +139,7 @@ class RepoViewScreen(Screen):
commits = requests.get(
self.app.GITEA_HOST + f"api/v1/repos/{self.owner_name}/{self.repo_name}/commits",
params={
"path": ".",
"path": path,
"verification": False,
"files": False,
"stat": False,