changeset 868:224d6cd7e1e4

asco use colored logs Ignore-this: f37a84fff2c700efad17d07950362f18
author Drew Perttula <drewp@bigasterisk.com>
date Thu, 06 Jun 2013 08:21:07 +0000
parents 4b3d7e8ba24a
children 83dfc2e87e62
files bin/ascoltami2
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bin/ascoltami2	Thu Jun 06 04:43:21 2013 +0000
+++ b/bin/ascoltami2	Thu Jun 06 08:21:07 2013 +0000
@@ -1,4 +1,5 @@
 #!bin/python
+from run_local import log
 from twisted.internet import gtk2reactor, reactor
 import web, thread, gobject, sys, optparse, logging
 from rdflib import URIRef
@@ -38,8 +39,6 @@
         self.player.setSong(songLocation(graph, nextSong), play=False)
 
 if __name__ == "__main__":
-    logging.basicConfig()
-    log = logging.getLogger()
     gobject.threads_init() # this is in gtk2reactor too
 
     parser = optparse.OptionParser()