[Otfbot-svn] r105 - in trunk: . modules

cato- at BerliOS cato-
So Jun 10 20:59:13 CEST 2007


Author: cato-
Date: 2007-06-10 20:59:12 +0200 (Sun, 10 Jun 2007)
New Revision: 105

Added:
   trunk/modules/mh_python.so
Modified:
   trunk/otfbot.py
Log:
* same as before, but it's working now

Copied: trunk/modules/mh_python.so (from rev 102, trunk/mh_python.so)

Modified: trunk/otfbot.py
===================================================================
--- trunk/otfbot.py	2007-06-10 18:48:16 UTC (rev 104)
+++ trunk/otfbot.py	2007-06-10 18:59:12 UTC (rev 105)
@@ -30,7 +30,8 @@
 import os, random, string, re, threading, time, sys, traceback, threading, atexit
 import functions, config
 
-sys.path.append("modules")
+sys.path.insert(1,"modules")
+
 classes=[]
 for file in os.listdir("modules"):
 	if len(file)>=3 and file[-3:]==".py":




Mehr Informationen über die Mailingliste Otfbot-dev