|
|
|
@ -2418,12 +2418,12 @@ or ld_bind_dn or ld_bind_pw")
|
|
|
|
|
os.unlink(fd)
|
|
|
|
|
else:
|
|
|
|
|
filesDir.append(fd)
|
|
|
|
|
# Нахождение файлов отличных от иконок и ссылок в Desktop
|
|
|
|
|
# Нахождение файлов отличных ссылок и .* в Desktop
|
|
|
|
|
pathDesktop = './Desktop'
|
|
|
|
|
filesDirDesk = []
|
|
|
|
|
if os.path.exists(pathDesktop):
|
|
|
|
|
filesDirDesk = filter(lambda x: not os.path.islink(x) and\
|
|
|
|
|
not x.rpartition('.')[2]=='desktop',\
|
|
|
|
|
not x.startswith('.'),\
|
|
|
|
|
map(lambda x: os.path.join(pathDesktop,x),\
|
|
|
|
|
os.listdir(pathDesktop)))
|
|
|
|
|
movedPathDesk = os.path.join(movedPath, pathDesktop)
|
|
|
|
|