about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorArisu <arisu@styl.us.to>2011-10-10 15:11:31 +0200
committerhut <hut@lavabit.com>2011-10-10 15:46:14 +0200
commit8afc4b5f2c5312c89352e27ccb82664821b841cf (patch)
tree006dcd128d6156fa8023da33241cd86989481de8 /ranger
parentbed99432cccb3eaae263c1c77e91fb4bb165cf6b (diff)
downloadranger-8afc4b5f2c5312c89352e27ccb82664821b841cf.tar.gz
Repair some unintended variable references
Diffstat (limited to 'ranger')
-rw-r--r--ranger/core/fm.py3
-rw-r--r--ranger/core/helper.py2
2 files changed, 1 insertions, 4 deletions
diff --git a/ranger/core/fm.py b/ranger/core/fm.py
index 314127ca..a98ba938 100644
--- a/ranger/core/fm.py
+++ b/ranger/core/fm.py
@@ -81,9 +81,6 @@ class FM(Actions, SignalDispatcher):
 					autosave=self.settings.autosave_bookmarks)
 			self.bookmarks.load()
 
-		else:
-			self.bookmarks = bookmarks
-
 		if not ranger.arg.clean and self.tags is None:
 			self.tags = Tags(self.confpath('tagged'))
 
diff --git a/ranger/core/helper.py b/ranger/core/helper.py
index c090a09f..dfc710c0 100644
--- a/ranger/core/helper.py
+++ b/ranger/core/helper.py
@@ -134,7 +134,7 @@ def load_settings(fm, clean):
 			ranger.fm = fm
 			for plugin in sorted(plugins):
 				try:
-					mod = __import__('plugins', fromlist=[plugin])
+					module = __import__('plugins', fromlist=[plugin])
 					fm.log.append("Loaded plugin '%s'." % module)
 				except Exception as e:
 					fm.log.append("Error in plugin '%s'" % plugin)