Open

Description
I have the small script below that I try to test:
import sys
def pre_save(value, numb):
if value == "value":
return("accepted by Python script " + sys.version)
else:
return("refused by Python script" + sys.version)
When I do a py.RunSrc(ctx, pythonCode, "", nil)
, I get "AttributeError: "'module' has no attribute 'pre_save'""
Metadata
Metadata
Assignees
Labels
No labels