# HG changeset patch # User drewp@bigasterisk.com # Date 1150668024 0 # Node ID 39a68d590e413f45e9ed5417510857df170e5930 # Parent 064684eca7d286fa095463edb1efabe32c96bdee compatibility with dispatcher/louie diff -r 064684eca7d2 -r 39a68d590e41 light9/Submaster.py --- a/light9/Submaster.py Fri Jun 16 19:35:25 2006 +0000 +++ b/light9/Submaster.py Sun Jun 18 22:00:24 2006 +0000 @@ -2,7 +2,10 @@ 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"