Skip to content

Commit

Permalink
Do not attempt to use task methods for new tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Coddington authored and ralphbean committed May 5, 2014
1 parent cf25025 commit f7765ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bugwarrior/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def _bool_option(section, option, default):
send_notification(issue, 'Created', conf)

try:
tw.task_add(**issue.serialized())
tw.task_add(**issue)
except TaskwarriorError as e:
log.name('db').trace(e)

Expand Down

0 comments on commit f7765ef

Please sign in to comment.