This commit is contained in:
Vitor Santos Costa
2018-07-31 22:13:30 +01:00
parent bf712034a9
commit 55b2325b2e
14 changed files with 361 additions and 365 deletions

View File

@@ -570,7 +570,7 @@ static int python_import(term_t mname, term_t mod) {
const char *sn, *as = NULL;
Term t = Deref(ARG1), sm;
if (IsApplTerm(t)) {
Functor f = FunctorOfTerm(t);
Functor f = (Functor)*RepAppl(t);
if (f != FunctorAs)
return false;
do_as = true;