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