diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-08-24 17:22:47 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-08-24 17:22:47 +0000 |
commit | 120a9a173a387a1b43c45a33e88c56c43b8cbc1f (patch) | |
tree | db1885694e1dd1b9c1c460840e82e87f97d19e5b /fetchmailconf | |
parent | c4bc15d8b9cb07c4794c0fbf87ca34e35f45678f (diff) | |
download | fetchmail-120a9a173a387a1b43c45a33e88c56c43b8cbc1f.tar.gz fetchmail-120a9a173a387a1b43c45a33e88c56c43b8cbc1f.tar.bz2 fetchmail-120a9a173a387a1b43c45a33e88c56c43b8cbc1f.zip |
Fix fetchmailconf.
svn path=/trunk/; revision=2049
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, |