bug fix
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user