diff bin/run_local.py @ 1087:1f877950ad28

new picamserve for raspberry pi camera -> http, especially with crop control Ignore-this: 38fc34a6eff577c05129df87d6133a95
author Drew Perttula <drewp@bigasterisk.com>
date Wed, 04 Jun 2014 08:30:45 +0000
parents e6121f8a9f87
children 770b0d0005fc
line wrap: on
line diff
--- a/bin/run_local.py	Wed Jun 04 08:27:34 2014 +0000
+++ b/bin/run_local.py	Wed Jun 04 08:30:45 2014 +0000
@@ -16,8 +16,12 @@
         Failure(val, exc, tb).printDetailedTraceback()
 Tkinter.Tk.report_callback_exception = rce
 
-import coloredlogs, logging, time, faulthandler
-faulthandler.enable()
+import coloredlogs, logging, time
+try:
+    import faulthandler
+    faulthandler.enable()
+except ImportError:
+    pass
 log = logging.getLogger()
 
 class CSH(coloredlogs.ColoredStreamHandler):