Explorar o código

Added default empty argument list to possibility.

Taddeus Kroes %!s(int64=14) %!d(string=hai) anos
pai
achega
e08af8cf8a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/possibilities.py

+ 1 - 1
src/possibilities.py

@@ -6,7 +6,7 @@ MESSAGES = {}
 
 
 class Possibility(object):
-    def __init__(self, root, handler, args):
+    def __init__(self, root, handler, args=()):
         self.root = root
         self.handler = handler
         self.args = args