Mercurial > code > home > repos > light9
changeset 322:39a68d590e41
compatibility with dispatcher/louie
author | drewp@bigasterisk.com |
---|---|
date | Sun, 18 Jun 2006 22:00:24 +0000 |
parents | 064684eca7d2 |
children | f2e737c2381c |
files | light9/Submaster.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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"