Skip to content

Commit

Permalink
Making documentation build easier by optionally importing engineering…
Browse files Browse the repository at this point in the history
…_notation
  • Loading branch information
slightlynybbled committed Jun 11, 2018
1 parent 27ef033 commit 2981183
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tk_tools/canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
import sys
import logging
from decimal import Decimal
from engineering_notation import EngNumber

# these imports make autodoc easier to run
try:
from engineering_notation import EngNumber
except ImportError:
pass

try:
from tk_tools.images import rotary_scale, \
Expand Down

0 comments on commit 2981183

Please sign in to comment.