Forum Archive

Add from Gist.wkflw Error on Line 52

midimuso

Get error while trying to import workflows using
https://gist.github.com/omz/4303311 i.e. Add from Gist.wkflw

Tried
https://gist.github.com/4301281
and
https://gist.github.com/4595251
both give error on line 52
Workflow error (importing workflow)
Ann error occurred in the action
"Run Python Script": Line 52:
Attribute Error: 'module' object has no attribute 'add_command'

52 editor.add_command(name,content)

Please Help.

filippocld223

editor.add_command doesn't exist!

omz

Those scripts were created with a beta version of Editorial that had slightly different functions in the editor module. I've accidentally made the Gists public, but they were just intended for testing purposes and no longer work in the release version.