| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2f7899b commit 5c6aa63
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -372,7 +372,6 @@ def locate(self, cursor_offset: int, line: str) -> Optional[LinePart]: | |||
| 372 | 372 | return lineparts.current_string(cursor_offset, line) | |
| 373 | 373 | ||
| 374 | 374 | def format(self, filename: str) -> str: | |
| 375 | - filename.rstrip(os.sep).rsplit(os.sep)[-1] | ||
| 376 | 375 | if os.sep in filename[:-1]: | |
| 377 | 376 | return filename[filename.rindex(os.sep, 0, -1) + 1 :] | |
| 378 | 377 | else: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments