summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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)