Merge pull request #76 from oz-linden/master
fix for Issue #75: add the --themes-dir to the module import path Thanks!
This commit is contained in:
commit
4ae9ab7627
1 changed files with 1 additions and 0 deletions
|
|
@ -215,6 +215,7 @@ def load_themes( themes_dir):
|
||||||
global context
|
global context
|
||||||
logging.debug("search for themes in: %s" % themes_dir)
|
logging.debug("search for themes in: %s" % themes_dir)
|
||||||
os.chdir( themes_dir )
|
os.chdir( themes_dir )
|
||||||
|
sys.path.append( themes_dir )
|
||||||
|
|
||||||
# load available themes
|
# load available themes
|
||||||
for f in glob.iglob("colout_*.py"):
|
for f in glob.iglob("colout_*.py"):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue