summaryrefslogtreecommitdiff
path: root/oldbot.py
diff options
context:
space:
mode:
authorPeter Ward <peteraward@gmail.com>2009-10-02 14:47:31 +1000
committerPeter Ward <peteraward@gmail.com>2009-10-02 14:47:31 +1000
commit855bdb25b92d36a5aa3b4430a9ef9d6956be8622 (patch)
treef08e76806071fa1925b359240968d3ad219b8bc7 /oldbot.py
parent4aef934741f595589ad2b2fdae65341348960ec3 (diff)
Commit.
Diffstat (limited to 'oldbot.py')
-rw-r--r--oldbot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/oldbot.py b/oldbot.py
index e27ed39..3bd3038 100644
--- a/oldbot.py
+++ b/oldbot.py
@@ -3,6 +3,7 @@ import subprocess
class BotWrapper(object):
def __init__(self, process):
self.process = process
+ self.__name__ = process
def __call__(self, board, (x, y)):
height = len(board)