Skip to content

Commit 222591c

Browse files
committed
Fix panela color import, add missing requirements
1 parent 4909985 commit 222591c

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
@@ -11,3 +11,7 @@ cffi
1111
polyglot
1212
colorama
1313
pyyaml
14+
15+
# panela reqiurements
16+
wcwidth
17+
pyte

0 commit comments

Comments
 (0)