paolobenve / myphotoshare

MOVED TO GITLAB! --- A Web 2.0 Photo Gallery Done Right via Static JSON, Dynamic Javascript and a bit of php for sharing
15 stars 0 forks source link

use os.walk to scan directories in TreeWalker.walk() #107

Closed paolobenve closed 6 years ago

paolobenve commented 6 years ago

It seems better to use this standard function instead of building with python code the dirs/files list.

paolobenve commented 6 years ago

No, it seems a bad idea, because the recursive TreeWalker.walk() function should be changed to a loop one, it's not worth the effort