Skip to content

BUGFIX python3.6 stylers fixed to return integer color tuple#6

Open
ktak-007 wants to merge 1 commit intoAlexeyKupershtokh:masterfrom
ktak-007:fix/python3.6
Open

BUGFIX python3.6 stylers fixed to return integer color tuple#6
ktak-007 wants to merge 1 commit intoAlexeyKupershtokh:masterfrom
ktak-007:fix/python3.6

Conversation

@ktak-007
Copy link
Copy Markdown

In python3.6 we have such error:

Traceback (most recent call last):
File "/usr/sbin/cg2dot", line 50, in
print(DotBuilder().get_dot(merged_tree, DotNodeStyler))
File "/usr/lib/python3.6/site-packages/dot.py", line 31, in get_dot
color = "#%02x%02x%02x" % node_styler.colorize(stack[-1])
TypeError: %x format: an integer is required, not float

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant