diff --git a/pym/cl_client.py b/pym/cl_client.py index b674849..8e5cbfa 100644 --- a/pym/cl_client.py +++ b/pym/cl_client.py @@ -2423,7 +2423,8 @@ or ld_bind_dn or ld_bind_pw") filesDirDesk = [] if os.path.exists(pathDesktop): filesDirDesk = filter(lambda x: not os.path.islink(x) and\ - not os.path.split(x)[1].startswith('.'),\ + not os.path.split(x)[1].startswith('.') and\ + not x.rpartition('.')[2]=='desktop', map(lambda x: os.path.join(pathDesktop,x),\ os.listdir(pathDesktop))) movedPathDesk = os.path.join(movedPath, pathDesktop)