aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/html_promo.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v2/html_promo.rb')
-rw-r--r--lib/sisu/v2/html_promo.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sisu/v2/html_promo.rb b/lib/sisu/v2/html_promo.rb
index df13393e..92ea15ec 100644
--- a/lib/sisu/v2/html_promo.rb
+++ b/lib/sisu/v2/html_promo.rb
@@ -405,8 +405,7 @@ WOK
end
end
else
- tell=SiSU_Screen::Ansi.new(@md.cmd,"category not found: #{category}")
- tell.warn unless @md.cmd =~/q/
+ SiSU_Screen::Ansi.new(@md.cmd,"category not found: #{category}").warn unless @md.cmd =~/q/
end
adverts.join
end