diff --git a/pym/cl_client.py b/pym/cl_client.py index 04e0818..1425bc5 100644 --- a/pym/cl_client.py +++ b/pym/cl_client.py @@ -2053,7 +2053,7 @@ or ld_bind_dn or ld_bind_pw") filesDirDesk = [] if os.path.exists(pathDesktop): filesDirDesk = map(lambda x: os.path.join(pathDesktop,x),\ - filter(lambda x: not os.path.islink(fd) or\ + filter(lambda x: not os.path.islink(x) or\ not x.rpartition('.')[2]=='desktop', os.listdir(pathDesktop))) movedPathDesk = os.path.join(movedPath, pathDesktop) filesDir += filesDirDesk