Changeset 169

Show
Ignore:
Timestamp:
Sun May 20 16:05:43 2007
Author:
manatlan
Message:

- don't import photo starting with a "."

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/db.py

    r164 r169  
    158 158         for (basepath, children) in walktree(path,False):  
    159 159             for child in children:  
    160                   if child[-4:].lower() == ".jpg":  
      160                 if child[-4:].lower() == ".jpg" and not child.startswith("."):  
    160 160                     #~ file = os.path.join(basepath, child).decode( sys.getfilesystemencoding() )  
    161 161                     file = os.path.join(basepath, child)