summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/scripts/taskwarriorfeeder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/scripts/taskwarriorfeeder.rb b/dotfiles/scripts/taskwarriorfeeder.rb
index 8ded541..162baf2 100644
--- a/dotfiles/scripts/taskwarriorfeeder.rb
+++ b/dotfiles/scripts/taskwarriorfeeder.rb
@@ -50,7 +50,7 @@ def random_quote(md_file)
quote = lines.select { |l| l.start_with? '*' }.map { |l| l.sub(/\* +/, '') }.sample
tags = [tag, 'random']
- tags << 'work' if maybe?
+ tags << 'work' if maybe and maybe?
yield tags, quote.chomp, "#{rand(0..timespan)}d"
end