Commit 23fe2a86 authored by Guilherme Polo's avatar Guilherme Polo

Fix for issue #1581476

parent b98cb43e
......@@ -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)){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment