Changeset 3806 for WAeUP_SRP/trunk


Ignore:
Timestamp:
8 Dec 2008, 14:20:00 (16 years ago)
Author:
Henrik Bettermann
Message:

fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPTool.py

    r3805 r3806  
    12661266    security.declareProtected(ModifyPortalContent,'findUnusedImageFolders') ###(
    12671267    def findUnusedImageFolders(self):
    1268         """check if an unused image folder exists in the filesystem"""
    1269 
     1268        """check if an unused image folders exists in the filesystem"""
     1269
     1270        abc = os.listdir(images_base)
    12701271        ifolders = []
    1271         for i in a:
     1272        for i in abc:
    12721273            picture_path = os.path.join(images_base,i)
    12731274            ifolders.extend(os.listdir(picture_path))
Note: See TracChangeset for help on using the changeset viewer.