]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
- fixed braino
authorMariusz Mazur <mmazur@pld-linux.org>
Sun, 20 Mar 2005 00:51:51 +0000 (00:51 +0000)
committerMariusz Mazur <mmazur@pld-linux.org>
Sun, 20 Mar 2005 00:51:51 +0000 (00:51 +0000)
Changed files:
    modules/common.py -> 1.8

modules/common.py

index 87162df5e00948117c8bf2f6912cfe9278d84045..700005fea56d13ef48218cb9bcb21560503419ef 100644 (file)
@@ -10,8 +10,8 @@ def fileexists(path):
     return os.path.exists(fullpath)
 
 def checkdir(dir):
-    if not fileexists(sys.argv[1]):
-        print config.value['ftp_dir']+'/'+sys.argv[1] + " does not exist"
+    if not fileexists(dir):
+        print config.value['ftp_dir']+'/' + dir + " does not exist"
         sys.exit(1)
 
 if 'HOME' in os.environ:
This page took 0.117873 seconds and 4 git commands to generate.