Skip to content

Commit

Permalink
Make the new color imports work
Browse files Browse the repository at this point in the history
  • Loading branch information
bstrie committed Feb 12, 2012
1 parent 8eb5220 commit fc6741f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/rustic
Expand Up @@ -10,7 +10,10 @@ import urllib.request

# Now set up colorama, accounting for cargo installation limitations
sys.path.insert(0, '../')
from build import init, Fore, Style
try:
from build import init, Fore, Style
except ImportError:
from bin import init, Fore, Style
init()
term_cyan = Fore.CYAN + Style.BRIGHT
term_green = Fore.GREEN + Style.BRIGHT
Expand Down

0 comments on commit fc6741f

Please sign in to comment.