diff options
Diffstat (limited to 'fetchmailconf')
-rwxr-xr-x | fetchmailconf | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fetchmailconf b/fetchmailconf index 574c6198..e6043000 100755 --- a/fetchmailconf +++ b/fetchmailconf @@ -7,7 +7,7 @@ # # TO DO: Arrange for save and quit buttons to clean up all frames dependent # on the current ones. -version = "1.2" +version = "1.3" from Tkinter import * from Dialog import * @@ -444,10 +444,9 @@ class ListEdit(Frame): if not select: helpwin(listboxhelp) else: - index = string.atoi(select[0]) - if index: - self.listwidget.delete(index) - if self.list != None: del self.list[index] + index = string.atoi(select[0]) + self.listwidget.delete(index) + if self.list != None: del self.list[index] def ConfirmQuit(frame, context): ans = Dialog(frame, |