]> khamidou — GitHub mirrors - liszt.git/commitdiff
fixed a flaw in liszt-setup
authorkhamidou <khamidou@gmail.com>
Mon, 22 Feb 2010 14:08:02 +0000 (15:08 +0100)
committerkhamidou <khamidou@gmail.com>
Mon, 22 Feb 2010 14:08:02 +0000 (15:08 +0100)
liszt-setup

index 8936cd85436e51430ffff63ffb2cd14bf4d949df..f8617fcfc85260949c0483dd55554305a09bac3f 100755 (executable)
@@ -15,14 +15,11 @@ if os.access(path, os.F_OK):
         print "Error : Unable to remove " + path
         sys.exit(-1)
 
-    os.mkdir(path)
-    os.chdir(path)
-else:
-    os.mkdir(path)
-    os.chdir(path)
-    os.mkdir("delayed")
-    os.mkdir("cached")
-    os.system("echo [] > cached/lists_list")
+os.mkdir(path)
+os.chdir(path)
+os.mkdir("delayed")
+os.mkdir("cached")
+os.system("echo [] > cached/lists_list")
 
 config = ConfigParser.RawConfigParser()