zip_path(os.path.join(path, p), os.path.join(base, p), zipfd)
else:
zipfd.write(os.path.join(path, p), os.path.join(base, p))
zip_path(os.path.join(path, p), os.path.join(base, p), zipfd)
else:
zipfd.write(os.path.join(path, p), os.path.join(base, p))