diff options
author | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2007-12-07 15:47:03 (GMT) |
---|---|---|
committer | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2007-12-07 15:47:03 (GMT) |
commit | aef931bac906c4c9cd52a7dc887625de6b1abbf3 (patch) | |
tree | 0d0099b1ea499c55fa94450b0cec1972428b589b | |
parent | eef56d0baa67468069ed20e5ac2a4141e385711d (diff) |
tmp / instance mix up
git-svn-id: http://mediamods.com/public-svn/camera-activity/Record.activity@938 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
-rw-r--r-- | instance.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/instance.py b/instance.py index b6cd961..1c9db31 100644 --- a/instance.py +++ b/instance.py @@ -45,7 +45,7 @@ def recreateTmp(): def recreateInstance(): #todo: figure out how to have multiple spaces for my media #problem is, if new instance is created, with this code, it clears the whole tmp directory! - if (os.path.exists(Instance.tmpPath)): - shutil.rmtree(Instance.tmpPath) + if (os.path.exists(Instance.instancePath)): + shutil.rmtree(Instance.instancePath) if (not os.path.exists(Instance.instancePath)): os.makedirs(Instance.instancePath)
\ No newline at end of file |