Commit 591507b8 authored by fred's avatar fred

fix way to get app settings

parent f21f6eaf
......@@ -3,7 +3,7 @@ from django.conf import settings
class AppSettings:
def get_setting(self, setting, default=None):
return settings.getattr('NONSTOP_' + setting, default)
return getattr(settings, 'NONSTOP_' + setting, default)
@property
def REMOTE_BASE_PATH(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment