From 225c0d779322d5795bf334a3740acc157cb54b25 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 7 Apr 2019 17:46:35 +0100 Subject: [PATCH] Don't remove the first char of 'setting' twice --- modules/set.py | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/set.py b/modules/set.py index 8850ed42..a2d15b9e 100644 --- a/modules/set.py +++ b/modules/set.py @@ -241,7 +241,6 @@ class Module(ModuleManager.BaseModule): existing_value = target.get_setting(setting, None) if not existing_value == None: if unset: - setting = setting[1:] target.del_setting(setting) return ConfigResult(ConfigResults.Removed) else: