diff --git a/bin/curvecalc b/bin/curvecalc --- a/bin/curvecalc +++ b/bin/curvecalc @@ -8,7 +8,10 @@ from __future__ import division import xmlrpclib,time,socket,sys,textwrap,math,glob,random,os,optparse from bisect import bisect_left,bisect,bisect_right import Tkinter as tk -from dispatch import dispatcher +try: + from dispatch import dispatcher +except ImportError: + import louie as dispatcher from twisted.internet import reactor,tksupport import twisted from twisted.web.xmlrpc import Proxy diff --git a/light9/curve.py b/light9/curve.py --- a/light9/curve.py +++ b/light9/curve.py @@ -2,7 +2,10 @@ from __future__ import division import sys,math,glob,random,os from bisect import bisect_left,bisect,bisect_right import Tkinter as tk -from dispatch import dispatcher +try: + from dispatch import dispatcher +except ImportError: + import louie as dispatcher import run_local from light9 import Submaster, dmxclient, networking, cursors diff --git a/light9/zoomcontrol.py b/light9/zoomcontrol.py --- a/light9/zoomcontrol.py +++ b/light9/zoomcontrol.py @@ -1,6 +1,9 @@ from __future__ import division import Tkinter as tk -from dispatch import dispatcher +try: + from dispatch import dispatcher +except ImportError: + import louie as dispatcher from light9 import cursors class Zoomcontrol(object,tk.Canvas):