Update cgCaller.py

can process VarType 'sub' now. I've tested it.