| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -993,8 +993,8 @@ def rename(self, new_name): | |||
| 993 | 993 | pw.rename_section(sm_section(self.name), sm_section(new_name)) | |
| 994 | 994 | ||
| 995 | 995 | # .gitmodules | |
| 996 | - with self.config_writer(write=True) as cw: | ||
| 997 | - cw.config.rename_section(sm_section(self.name), sm_section(new_name)) | ||
| 996 | + with self.config_writer(write=True).config as cw: | ||
| 997 | + cw.rename_section(sm_section(self.name), sm_section(new_name)) | ||
| 998 | 998 | ||
| 999 | 999 | self._name = new_name | |
| 1000 | 1000 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments