Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
NullMode committed Oct 3, 2013
2 parents 82a42e8 + c9e60fe commit 98bfdbe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/core/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from textwrap import dedent
from util import Msg, Error, debug, check_opts, eval_type
from collections import OrderedDict, namedtuple
from src.modules.services.service import Service

"""
Main data bus for interacting with the various modules. Dumps information,
Expand Down Expand Up @@ -50,9 +51,13 @@ def initialize(module):
return

if tmp is not None and tmp is not False:
if isinstance(tmp_mod, Service):
HOUSE['service'][tmp_mod.which] = tmp_mod
return

if not tmp_mod.which in HOUSE:
HOUSE[tmp_mod.which] = {}
HOUSE[tmp_mod.which][tmp] = tmp_mod
HOUSE[tmp_mod.which][tmp_mod.session_view()] = tmp_mod


def handle_opts(module):
Expand Down

0 comments on commit 98bfdbe

Please sign in to comment.