diff --git a/mayan/apps/common/settings.py b/mayan/apps/common/settings.py index c97dbd07fa..c6079f42bf 100644 --- a/mayan/apps/common/settings.py +++ b/mayan/apps/common/settings.py @@ -53,8 +53,7 @@ setting_production_error_log_path = namespace.add_setting( global_name='COMMON_PRODUCTION_ERROR_LOG_PATH', default=os.path.join(settings.MEDIA_ROOT, 'error.log'), help_text=_( 'Path to the logfile that will track errors during production.' - ), - is_path=True + ) ) setting_project_title = namespace.add_setting( global_name='COMMON_PROJECT_TITLE', @@ -82,8 +81,7 @@ setting_temporary_directory = namespace.add_setting( help_text=_( 'Temporary directory used site wide to store thumbnails, previews ' 'and temporary files.' - ), - is_path=True + ) ) namespace = Namespace(label=_('Django'), name='django') diff --git a/mayan/apps/smart_settings/classes.py b/mayan/apps/smart_settings/classes.py index 4e1888f30a..fa5cfa767a 100644 --- a/mayan/apps/smart_settings/classes.py +++ b/mayan/apps/smart_settings/classes.py @@ -147,7 +147,7 @@ class Setting(object): path=settings.CONFIGURATION_LAST_GOOD_FILEPATH ) - def __init__(self, namespace, global_name, default, help_text=None, is_path=False, post_edit_function=None): + def __init__(self, namespace, global_name, default, help_text=None, post_edit_function=None): self.global_name = global_name self.default = default self.help_text = help_text diff --git a/mayan/apps/sources/settings.py b/mayan/apps/sources/settings.py index ae124f4959..0dacbb8a62 100644 --- a/mayan/apps/sources/settings.py +++ b/mayan/apps/sources/settings.py @@ -15,8 +15,7 @@ setting_scanimage_path = namespace.add_setting( global_name='SOURCES_SCANIMAGE_PATH', default=DEFAULT_SCANIMAGE_PATH, help_text=_( 'File path to the scanimage program used to control image scanners.' - ), - is_path=True + ) ) setting_staging_file_image_cache_storage = namespace.add_setting( global_name=DEFAULT_STAGING_FILE_CACHE_STORAGE_BACKEND,