Skip to content

Commit 86dd8db

Browse files
author
Ismael Taboada
committed
Graphviz installation control
1 parent 1789b39 commit 86dd8db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
TEST = "this is an example for huffman encoding"
2323

2424
try:
25-
pass
25+
dot = Digraph(comment=comment, format=formatin)
2626
except Exception as e:
27-
print "\nGraphviz software not found.\nPlease install Graphviz software on your computer.(http://www.graphviz.org/Download.php)"
27+
print "Error: Graphviz software not found.\nPlease install Graphviz software on your computer.(http://www.graphviz.org/Download.php)"
2828
exit(1)
2929

3030

0 commit comments

Comments
 (0)