From e0962ffe58cd43534ebc98ee7e83f70b992855a8 Mon Sep 17 00:00:00 2001 From: Peter Ward Date: Fri, 27 May 2011 17:04:59 +1000 Subject: Minor fixes. --- snake.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/snake.py b/snake.py index add6e62..89e97da 100644 --- a/snake.py +++ b/snake.py @@ -15,8 +15,9 @@ import traceback from common import * class SnakeEngine(object): - def __init__(self, rows, columns, n_apples, wrap=False, results=False): - super(SnakeEngine, self).__init__() + def __init__(self, rows, columns, n_apples, wrap=False, results=False, + *args, **kwargs): + super(SnakeEngine, self).__init__(*args, **kwargs) self.wrap = wrap self.bots = {} -- cgit v1.2.3