summaryrefslogtreecommitdiff
path: root/pywal/util.py
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2018-01-02 10:30:46 +1100
committerDylan Araps <dylan.araps@gmail.com>2018-01-02 10:30:46 +1100
commit296d3f54b9c104fbd31d7f12a5af3a8da490b245 (patch)
tree86a72baf71a3c9fcc49395519678cb62292b9ff4 /pywal/util.py
parentd6515868618d6faa02ff96b5febd7351a453a74a (diff)
general: Add pylintrc.
Diffstat (limited to 'pywal/util.py')
-rw-r--r--pywal/util.py3
1 files changed, 1 insertions, 2 deletions
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):