From 296d3f54b9c104fbd31d7f12a5af3a8da490b245 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 2 Jan 2018 10:30:46 +1100 Subject: general: Add pylintrc. --- pywal/util.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pywal/util.py') diff --git a/pywal/util.py b/pywal/util.py index 37df3a8..6f9376a 100644 --- a/pywal/util.py +++ b/pywal/util.py @@ -20,8 +20,7 @@ class Color: @property def rgb(self): """Convert a hex color to rgb.""" - red, green, blue = hex_to_rgb(self.hex_color) - return "%s,%s,%s" % (red, green, blue) + return "%s,%s,%s" % (*hex_to_rgb(self.hex_color)) @property def xrgba(self): -- cgit v1.2.3