the python script is located at /usr/share/ajaxterm/. There is no such directory (from the current path) as '../../python', so the 'glob.glob()' call returns an empty list. Additionally, qweb.py is in the same directory as the script. I am guessing this is a left-over.
1. path adjustment: I see no reason for it -- the code goes this way:
(...) os.path. normpath( os.path. dirname( __file_ _))) 0:0]=glob. glob('. ./../python' )
20 os.chdir(
21 # Optional: Add QWeb in sys path
22 sys.path[
23
24 import qweb, codecs
(...)
the python script is located at /usr/share/ ajaxterm/ . There is no such directory (from the current path) as '../../python', so the 'glob.glob()' call returns an empty list. Additionally, qweb.py is in the same directory as the script. I am guessing this is a left-over.