aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfetchmailconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmailconf b/fetchmailconf
index 54d74154..ce71be55 100755
--- a/fetchmailconf
+++ b/fetchmailconf
@@ -479,7 +479,7 @@ class MyWidget:
def fetch(self, template, field):
for x in template.typemap:
- setattr(eval("self." + field), x[0], getattr(self, x[0]).get())
+ setattr(getattr(self, field), x[0], getattr(self, x[0]).get())
#
# First, code to set the global fetchmail run controls.