diff options
author | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2007-12-20 19:02:59 (GMT) |
---|---|---|
committer | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2007-12-20 19:02:59 (GMT) |
commit | d8b2eeabdbcdf71688dec07ece72723c43d5efde (patch) | |
tree | 774b7dd61ab12cd8a18194f4e5a9d3065a81601a /instance.py | |
parent | 86975b24bf574da0091db7a4fd3d950980a90bef (diff) |
git-svn-id: http://mediamods.com/public-svn/camera-activity/tags/48@984 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
Diffstat (limited to 'instance.py')
-rw-r--r-- | instance.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/instance.py b/instance.py index 00856ac..0aac3ad 100644 --- a/instance.py +++ b/instance.py @@ -20,13 +20,13 @@ class Instance: colorStroke.init_hex( profile.get_color().get_stroke_color() ) instanceId = None - tmpPath = None + instancePath = None dataPath = None def __init__(self, ca): self.__class__.instanceId = ca._activity_id - self.__class__.tmpPath = os.path.join(ca.get_activity_root(), "tmp") + self.__class__.instancePath = os.path.join(ca.get_activity_root(), "instance") recreateTmp() self.__class__.dataPath = os.path.join(ca.get_activity_root(), "data") @@ -34,8 +34,8 @@ class Instance: def recreateTmp(): - if (not os.path.exists(Instance.tmpPath)): - os.makedirs(Instance.tmpPath) + if (not os.path.exists(Instance.instancePath)): + os.makedirs(Instance.instancePath) def recreateData(): |