Mercurial > code > home > repos > light9
view bin/vidref @ 929:c20c2eea6fce
another hack to stop graphfile from thinking its own new empty file means it should delete all the statements in that context
Ignore-this: 94639afbbe8d3a0abd8a06e16922394f
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Tue, 11 Jun 2013 20:25:02 +0000 |
parents | d96c09669b40 |
children | 89adbbb06bcd |
line wrap: on
line source
#!bin/python from run_local import log import gobject gobject.threads_init() import gtk import sys, logging, optparse sys.path.append(".") from light9.vidref.main import Main # find replay dirs correctly. show multiple # replays. trash. reorder/pin. dump takes that are too short; they're # just from seeking parser = optparse.OptionParser() parser.add_option("-v", "--verbose", action="store_true", help="logging.DEBUG") (options, args) = parser.parse_args() log.setLevel(logging.DEBUG) # limit the stdout one, but leave debug messages for the gtk logger log.handlers[0].setLevel(logging.DEBUG if options.verbose else logging.WARN) logging.getLogger("restkit.client").setLevel(logging.WARN) start=Main() gtk.main()