summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5959a5e)
Changed files:
modules/common.py -> 1.8
return os.path.exists(fullpath)
def checkdir(dir):
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:
sys.exit(1)
if 'HOME' in os.environ: