fix "unscriptable" error message in logtail.py, by calling function properly