# HG changeset patch # User drewp@bigasterisk.com # Date 2006-06-18 22:00:24 # Node ID 39a68d590e413f45e9ed5417510857df170e5930 # Parent 064684eca7d286fa095463edb1efabe32c96bdee compatibility with dispatcher/louie diff --git a/light9/Submaster.py b/light9/Submaster.py --- a/light9/Submaster.py +++ b/light9/Submaster.py @@ -2,7 +2,10 @@ from __future__ import division import os from light9.TLUtility import dict_scale, dict_max from light9 import Patch, showconfig -import dispatch.dispatcher as dispatcher +try: + import dispatch.dispatcher as dispatcher +except ImportError: + from louie import dispatcher class Submaster: "Contain a dictionary of levels, but you didn't need to know that"