summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2015-08-24 18:06:59 +0200
committerFlorian Jung <flo@windfisch.org>2015-08-24 18:06:59 +0200
commitc2e13a67d969f1208a8b8c127c94a9841c7048d9 (patch)
tree9a44f247aa8e66b7ce71dae63ebe9c8a84c5babc /main.py
parent58b0b9da0241ff8623581b2cb837eaf34b8f165d (diff)
cell motion history
Diffstat (limited to 'main.py')
-rw-r--r--main.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.py b/main.py
index d13c4ea..fd75b42 100644
--- a/main.py
+++ b/main.py
@@ -9,13 +9,14 @@ import time
import random
import gui
import stats
-from subscriber import DummySubscriber
+from subscriber import EnhancingSubscriber
from interval_utils import *
from strategy import *
# global vars
-sub = DummySubscriber()
+sub = EnhancingSubscriber()
c = client.Client(sub)
+sub.set_client(c)
stats = stats.Stats()
for i in range(1,10): # 10 connection attempts