summaryrefslogtreecommitdiff
path: root/lib/threads/palette.py
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2018-08-24 20:52:28 -0400
committerGitHub <noreply@github.com>2018-08-24 20:52:28 -0400
commit1de8487849a3f8f55d126e2687d690226e657fde (patch)
tree1bd891b97f8447cb3f513d073d20cea5d4534461 /lib/threads/palette.py
parentb3bb975401fe4971170239eea9b928ee13161398 (diff)
parent91eb98cc33602f19dddc186c034aed968e048404 (diff)
Merge pull request #288 from inkstitch/lexelby/style
fix coding style and enforce style checks in build
Diffstat (limited to 'lib/threads/palette.py')
-rw-r--r--lib/threads/palette.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/threads/palette.py b/lib/threads/palette.py
index 785fb082..654c43e5 100644
--- a/lib/threads/palette.py
+++ b/lib/threads/palette.py
@@ -41,8 +41,11 @@ class ThreadPalette(Set):
if self.name.lower().startswith('name: ink/stitch: '):
self.name = self.name[18:]
- columns_line = palette.readline()
- headers_line = palette.readline()
+ # number of columns
+ palette.readline()
+
+ # headers
+ palette.readline()
for line in palette:
fields = line.split("\t", 3)