Skip to content

Commit 02aad7e

Browse files
committed
Fix panela color import, add missing requirements
1 parent d2eecf1 commit 02aad7e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib/panela/panela_colors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"""
1919

2020
from wcwidth import wcswidth
21-
from colors import find_nearest_color, HEX_TO_ANSI, rgb_from_str
21+
from .colors import find_nearest_color, HEX_TO_ANSI, rgb_from_str
2222
import pyte
2323

2424
# http://stackoverflow.com/questions/19782975/convert-rgb-color-to-the-nearest-color-in-palette-web-safe-color

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,7 @@ PyICU
1414
pycld2
1515
colorama
1616
pyyaml
17+
18+
# panela reqiurements
19+
wcwidth
20+
pyte

0 commit comments

Comments
 (0)