Commits

Miki Tebeka committed 671ee08

Python 3

  • Participants
  • Parent commits cc50fe3

Comments (0)

Files changed (1)

File logbot/search.py

 from operator import itemgetter
 from os import makedirs
 from os.path import join, isdir
+from sys import version_info
+
+if version_info[0] >= 3:
+    unicode = lambda x: x
+
 
 schema = Schema(
     content=TEXT(stored=True),