1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-07 18:34:22 +00:00

fix action usage variable expansion

This commit is contained in:
deadc0de6
2019-06-19 16:07:29 +02:00
parent 44723dc032
commit 1888a09ad7
3 changed files with 22 additions and 13 deletions

View File

@@ -46,7 +46,7 @@ def action_executor(o, actions, defactions, templater, post=False):
continue
if o.debug:
LOG.dbg('executing def-{}-action {}'.format(s, action))
ret = action.execute(templater=templater)
ret = action.execute(templater=templater, debug=o.debug)
if not ret:
err = 'def-{}-action \"{}\" failed'.format(s, action.key)
LOG.err(err)
@@ -59,7 +59,7 @@ def action_executor(o, actions, defactions, templater, post=False):
continue
if o.debug:
LOG.dbg('executing {}-action {}'.format(s, action))
ret = action.execute(templater=templater)
ret = action.execute(templater=templater, debug=o.debug)
if not ret:
err = '{}-action \"{}\" failed'.format(s, action.key)
LOG.err(err)