diff bin/subserver @ 1060:473db8bebb8f

install a copy of cycloneerr.py Ignore-this: cd8b94a251fff5cd9412775258a1f2cf
author Drew Perttula <drewp@bigasterisk.com>
date Mon, 02 Jun 2014 00:19:38 +0000
parents a4632a7b2e17
children 448fe9f81501
line wrap: on
line diff
--- a/bin/subserver	Mon Jun 02 00:10:48 2014 +0000
+++ b/bin/subserver	Mon Jun 02 00:19:38 2014 +0000
@@ -15,13 +15,7 @@
 from light9.namespaces import L9, DCTERMS
 from light9 import networking, showconfig
 
-try:
-    sys.path.append("../homeauto/lib")
-    sys.path.append("/home/drewp/projects/homeauto/lib")
-    from cycloneerr import PrettyErrorHandler
-except ImportError:
-    class PrettyErrorHandler(object):
-        pass
+from lib.cycloneerr import PrettyErrorHandler
         
 liveClients = set()
 def sendToLiveClients(d=None, asJson=None):