From 1de24848bf983bcc6bea47bf40f86d52a162cac7 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 26 Mar 2010 04:50:49 -0400 Subject: [PATCH 1/1] Fix missing dispatchers in base.random_game EmailPlayer init. --- pyrisk/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrisk/base.py b/pyrisk/base.py index 2a90281..295b27b 100644 --- a/pyrisk/base.py +++ b/pyrisk/base.py @@ -791,7 +791,7 @@ def random_game(): world = generate_earth() ied = IncomingEmailDispatcher(fifo_path='/tmp/pyrisk.in') oed = OutgoingEmailDispatcher(return_address='server@example.com') - players = [EmailPlayer('Alice', 'alice@big.edu'), + players = [EmailPlayer('Alice', 'alice@big.edu', ied, oed), Player('Bob'), Player('Charlie')] e = Engine(world, players) e.run() -- 2.26.2