Skip to content

Commit

Permalink
[core] make ./willie load system-wide installed willie libs (if avil.)
Browse files Browse the repository at this point in the history
Issue #153
  • Loading branch information
Elad Alfassa committed Nov 9, 2012
1 parent 720c6aa commit ae5652d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions willie
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,18 @@ http://willie.dftba.net
import sys
import os
import optparse
from config import Config, create_config, ConfigurationError
import tools
from tools import stderr, stdout
import signal
import imp
try:
from __init__ import run
from willie.__init__ import run
from willie.config import Config, create_config, ConfigurationError
import willie.tools as tools
from willie.tools import stderr, stdout
except ImportError:
stderr("Error: Couldn't find willie to import")
sys.exit(1)
from __init__ import run
from config import Config, create_config, ConfigurationError
import tools
from tools import stderr, stdout

willie_dotdir = os.path.expanduser('~/.willie')
jenni_dotdir = os.path.expanduser('~/.jenni')
Expand Down

0 comments on commit ae5652d

Please sign in to comment.