Is there anything i can do about this code? I need to sort it by folder creation, the newest will be first ... thx
for dirname in postme:
dirname = os.path.abspath(dirname)
if dirname:
self._gal_files(os.path.basename(dirname), os.listdir(dirname), basepath=dirname)