Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorerikb <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)
commitaef931bac906c4c9cd52a7dc887625de6b1abbf3 (patch)
tree0d0099b1ea499c55fa94450b0cec1972428b589b
parenteef56d0baa67468069ed20e5ac2a4141e385711d (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.py4
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