]> granicus.if.org Git - python/commitdiff
AskString always set the dialog id to 257. Fixed.
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 5 Oct 1999 08:54:17 +0000 (08:54 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 5 Oct 1999 08:54:17 +0000 (08:54 +0000)
Mac/Lib/EasyDialogs.py

index 24f65157b92972b23dd019ca317ef11ea859be49..db855f58d6beab4236b9a0428d50bb5cd479f0e4 100644 (file)
@@ -72,7 +72,6 @@ def AskString(prompt, default = "", id=257, ok=None, cancel=None):
        can be at most 255 characters long.
        """
        
-       id = 257
        d = GetNewDialog(id, -1)
        if not d:
                print "Can't get DLOG resource with id =", id