Commits

Anonymous committed 0007d58

typo

Comments (0)

Files changed (1)

django_mobile_utils/__init__.py

 MOBILE_TEMPLATES_DIR = getattr(dmu_settings, 'MOBILE_TEMPLATES_DIR', ())
 USE_REGEX = getattr(dmu_settings, 'USE_REGEX', False)
 USER_AGENTS_FILE = getattr(dmu_settings, 'USER_AGENTS_FILE', False)
-USE_VERSION_REGEX = getattr(USER_AGENTS_FILE, 'USE_VERSION_REGEX', False)
+USE_VERSION_REGEX = getattr(dmu_settings, 'USE_VERSION_REGEX', False)
 
 
 def load_from_agents_file():