Index: channels/__init__.py ================================================================== --- channels/__init__.py +++ channels/__init__.py @@ -31,10 +31,11 @@ import gtk from uikit import uikit, ver as gtk_ver from config import * +from compat2and3 import * import ahttp import action import os.path import xml.sax.saxutils import re Index: compat2and3.py ================================================================== --- compat2and3.py +++ compat2and3.py @@ -46,10 +46,11 @@ PY3 = 1 # basic functions xrange = range unicode = str + unichr = chr # urllib modules import urllib.request as urllib import urllib.request as urllib2 from urllib.parse import quote_plus as urlencode, unquote as urldecode