aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfetchmailconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmailconf b/fetchmailconf
index 7b829571..311c59e9 100755
--- a/fetchmailconf
+++ b/fetchmailconf
@@ -440,7 +440,7 @@ class ListEdit(Frame):
if not select:
helpwin(listboxhelp)
else:
- index = select[0]
+ index = string.atoi(select[0])
if index:
self.listwidget.delete(index)
if self.list != None: del self.list[index]