diff options
author | Jon Erling Hustadnes <JonErling.Hustadnes@gmail.com> | 2018-12-18 21:22:14 +0100 |
---|---|---|
committer | Jon Erling Hustadnes <JonErling.Hustadnes@gmail.com> | 2018-12-18 21:22:14 +0100 |
commit | ec048e93fe0a4b7d2079c0af1364574906da9e7f (patch) | |
tree | dc792de0f2ddcbdcd091d93ac3af49740710ef0a | |
parent | 29222004d0baa6f19f9ecba1b03b218716a13cb3 (diff) | |
download | ranger-ec048e93fe0a4b7d2079c0af1364574906da9e7f.tar.gz |
updated variable name
-rw-r--r-- | ranger/container/bookmarks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/container/bookmarks.py b/ranger/container/bookmarks.py index 846a6585..cbfc541a 100644 --- a/ranger/container/bookmarks.py +++ b/ranger/container/bookmarks.py @@ -187,8 +187,8 @@ class Bookmarks(FileManagerAware): os.chmod(path_new, old_perms.st_mode) if os.path.islink(self.path): - link_path = os.path.realpath(self.path) - os.rename(path_new, link_path) + target_path = os.path.realpath(self.path) + os.rename(path_new, target_path) else: os.rename(path_new, self.path) |