From f16f4d068fdda45c7b1efce266434ffbf4926940 Mon Sep 17 00:00:00 2001 From: jamesbunton Date: Fri, 14 Jul 2006 12:38:46 +0000 Subject: [PATCH] Use md5 hashes for spool dir. Moved avatar dir to root of spool dir. git-svn-id: http://delx.cjb.net/svn/pymsnt/trunk@196 55fbd22a-6204-0410-b2f0-b6c764c7e90a committer: jamesbunton --- src/housekeep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/housekeep.py b/src/housekeep.py index 608c01e..eff8ab6 100644 --- a/src/housekeep.py +++ b/src/housekeep.py @@ -155,7 +155,7 @@ def doMD5HashDirUpgrade(): if not os.path.exists(pre + hash): os.makedirs(pre + hash) shutil.move(pre2 + file, pre + hash + X + file) - os.rmdir(dir) + os.rmdir(pre) except Exception, e: print "Error in migration", pre, dir, hash, file, str(e) sys.exit(1) -- 2.39.2