This commit is contained in:
Guilherme Polo 2009-02-02 21:08:32 +00:00
parent b98cb43e4a
commit 23fe2a867b
1 changed files with 1 additions and 2 deletions

View File

@ -1284,8 +1284,7 @@ Tkapp_Call(PyObject *selfptr, PyObject *args)
int objc, i;
PyObject *res = NULL;
TkappObject *self = (TkappObject*)selfptr;
/* Could add TCL_EVAL_GLOBAL if wrapped by GlobalCall... */
int flags = TCL_EVAL_DIRECT;
int flags = TCL_EVAL_DIRECT | TCL_EVAL_GLOBAL;
/* If args is a single tuple, replace with contents of tuple */
if (1 == PyTuple_Size(args)){