[tests] Minor adaptions to satisfy tests
* Default value for Theme() constructor * Don't fail fatally when unable to load taskwarrior module
This commit is contained in:
parent
93e5eedaec
commit
b858fef834
1 changed files with 4 additions and 1 deletions
|
@ -11,7 +11,10 @@ import bumblebee.input
|
|||
import bumblebee.output
|
||||
import bumblebee.engine
|
||||
|
||||
from taskw import TaskWarrior
|
||||
try:
|
||||
from taskw import TaskWarrior
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
class Module(bumblebee.engine.Module):
|
||||
|
|
Loading…
Reference in a new issue