summary refs log tree commit diff stats
path: root/ranger/shared/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/shared/settings.py')
-rw-r--r--ranger/shared/settings.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/ranger/shared/settings.py b/ranger/shared/settings.py
index 55259218..b7f840f4 100644
--- a/ranger/shared/settings.py
+++ b/ranger/shared/settings.py
@@ -120,12 +120,6 @@ class SettingsAware(object):
 		settings.signal_bind('setopt.colorscheme',
 				_colorscheme_name_to_class, priority=1)
 
-		from ranger.defaults import options as default_options
-		settings._setting_sources.append(default_options)
-		assert all(hasattr(default_options, setting) \
-				for setting in ALLOWED_SETTINGS), \
-				"Ensure that all options are defined in the defaults!"
-
 		if not ranger.arg.clean:
 			# overwrite single default options with custom options
 			try:
@@ -146,6 +140,12 @@ class SettingsAware(object):
 					except AttributeError:
 						pass
 
+		from ranger.defaults import options as default_options
+		settings._setting_sources.append(default_options)
+		assert all(hasattr(default_options, setting) \
+				for setting in ALLOWED_SETTINGS), \
+				"Ensure that all options are defined in the defaults!"
+
 		try:
 			import apps
 		except ImportError:
a id='n147' href='#n147'>147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212