]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
fix widget __init__ r0-50-27
authorkatzj <katzj>
Mon, 25 Jun 2001 15:50:12 +0000 (15:50 +0000)
committerkatzj <katzj>
Mon, 25 Jun 2001 15:50:12 +0000 (15:50 +0000)
snack.py

index a10b2ffb3d1662afdff5d0e2e11dd389eaaefc7f..04607569ead758a4e666e0671cab8830b19987b2 100644 (file)
--- a/snack.py
+++ b/snack.py
@@ -24,8 +24,8 @@ class Widget:
             self.w.setCallback(obj, data)
         else:
             self.w.setCallback(obj)
-
-    def __init__:
+            
+    def __init__(self):
        self.w = None
 
 class Button(Widget):