Commit d6170672 authored by Jim Fulton's avatar Jim Fulton

A tad better.

parent 016a482a
......@@ -85,7 +85,7 @@
"""Global definitions"""
__version__='$Revision: 1.31 $'[11:-2]
__version__='$Revision: 1.32 $'[11:-2]
import sys, os
from DateTime import DateTime
......@@ -123,7 +123,7 @@ except:
d,e=os.path.split(chome)
if e=='python':
d,e=os.path.split(d)
if e=='lib': chome=d or '.'
if e=='lib': chome=d or os.getcwd()
INSTANCE_HOME=sys.modules['__builtin__'].INSTANCE_HOME=chome
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment