From: Joseph Method Date: Thu, 17 Dec 2015 20:02:08 +0000 (-0500) Subject: Fix import statements X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/a0d370634e4ff57bbfadb4ab3fef103deb617a70 Fix import statements TaskWarrior and Task are available from the main tasklib module, not tasklib.task. --- diff --git a/on-add-pirate b/on-add-pirate index 0444893..8f61758 100755 --- a/on-add-pirate +++ b/on-add-pirate @@ -4,7 +4,7 @@ import glob import imp import os -from tasklib.task import TaskWarrior, Task +from tasklib import TaskWarrior, Task def find_hooks(file_prefix): diff --git a/on-modify-pirate b/on-modify-pirate index 867b63f..5093d18 100755 --- a/on-modify-pirate +++ b/on-modify-pirate @@ -4,7 +4,7 @@ import glob import imp import os -from tasklib.task import TaskWarrior, Task +from tasklib import TaskWarrior, Task def find_hooks(file_prefix):