about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-09-30 21:42:33 +0200
committerhut <hut@lavabit.com>2011-09-30 21:42:33 +0200
commit9aff6cc7f134a0feb31902003741129167051f4d (patch)
tree551dbef687fea522a659a65bddc9da1d9681a161 /ranger
parente63f79cfc54e14f69953a323cea7caf3f2532712 (diff)
downloadranger-9aff6cc7f134a0feb31902003741129167051f4d.tar.gz
container.settingobject: fix settingobject (?)
Diffstat (limited to 'ranger')
-rw-r--r--ranger/container/settingobject.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/container/settingobject.py b/ranger/container/settingobject.py
index 4d95536a..f7507b3e 100644
--- a/ranger/container/settingobject.py
+++ b/ranger/container/settingobject.py
@@ -82,6 +82,8 @@ class SettingObject(SignalDispatcher, FileManagerAware):
 	def __getattr__(self, name):
 		assert name in ALLOWED_SETTINGS or name in self._settings, \
 				"No such setting: {0}!".format(name)
+		if name.startswith('_'):
+			return self.__dict__[name]
 		try:
 			return self._settings[name]
 		except: