Mercurial > code > home > repos > light9
diff bin/vidref @ 1866:3c523c71da29
pyflakes cleanups and some refactors
Ignore-this: f7372e678699175feb4e628eee3d768c
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sat, 25 May 2019 12:10:51 +0000 |
parents | 7772cc48e016 |
children | 6f49dc917aa3 |
line wrap: on
line diff
--- a/bin/vidref Sat May 25 12:06:01 2019 +0000 +++ b/bin/vidref Sat May 25 12:10:51 2019 +0000 @@ -7,10 +7,9 @@ from twisted.internet import reactor, defer import gobject gobject.threads_init() -import gtk import sys, logging, optparse, json import cyclone.web, cyclone.httpclient, cyclone.websocket -from light9 import networking, showconfig +from light9 import networking from light9.vidref.main import Gui from light9.vidref.replay import snapshotDir from rdfdb.syncedgraph import SyncedGraph @@ -42,7 +41,7 @@ self.write(json.dumps({'snapshot': out})) self.set_header("Location", out) self.set_status(303) - except Exception as e: + except Exception: import traceback traceback.print_exc() raise