- Force UTF-8 printing to terminal

This commit is contained in:
Christophe Dumez
2009-03-27 14:34:30 +00:00
parent 1cc039c147
commit e8454596ea
2 changed files with 17 additions and 10 deletions

View File

@@ -100,16 +100,15 @@ if __name__ == '__main__':
what = '+'.join(sys.argv[2:])
threads = []
for engine in engines_list:
if 1:
#try:
try:
if THREADED:
exec "l = EngineLauncher(%s(), what)" % engine
threads.append(l)
l.start()
else:
engine().search(what)
#except:
# pass
except:
pass
if THREADED:
for t in threads:
t.join()