Cleanup logs dir on shell startup

This commit is contained in:
Marco Pesenti Gritti
2006-10-24 20:00:14 +02:00
parent 2aa69e7199
commit 6ab3b3c07e
2 changed files with 13 additions and 4 deletions
+1
View File
@@ -28,6 +28,7 @@ from sugar import profile
from sugar import env
from sugar import TracebackUtils
logger.cleanup()
logger.start('shell')
sys.path.insert(0, os.path.join(env.get_data_dir(), 'shell'))