svn: r7309

This commit is contained in:
Don Allingham
2006-09-11 03:07:17 +00:00
parent 0b6095fdc8
commit 61b9f23c9e
3 changed files with 14 additions and 14 deletions

View File

@@ -792,7 +792,7 @@ class ViewManager:
self.state.db.set_save_path(filename)
# Update window title
if filename[-1] == '/':
if filename[-1] == os.path.sep:
filename = filename[:-1]
name = os.path.basename(filename)
if self.state.db.readonly: