n the method of finding files in the directory ~. / Desktop, variable fd replaced by x

develop
Самоукин Алексей 14 years ago
parent 1b78a28ceb
commit 9f35f6f97f

@ -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

Loading…
Cancel
Save