From 3b0e761f4a27624b7f6868d4cb2432b4ea37376d Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Sun, 17 Oct 2010 10:04:32 +0000 Subject: XoColor: don't choke if passed the wrong type (SL#1408) Color data is stored in the Journal as a JSON dump, so we can get back arbitrary types. XoColor already checks the color string for validity and handles invalid strings gracefully, so it makes sense to enhance this to invalid types as well. Acked-by: Simon Schampijer --- (limited to 'po') -- cgit v0.9.1