Changeset 3973


Ignore:
Timestamp:
23 Feb 2009, 07:08:07 (16 years ago)
Author:
Henrik Bettermann
Message:

show correct message if picture path exists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPTool.py

    r3961 r3973  
    385385        students = self.portal_url.getPortalObject().campus.students
    386386        while self.students_catalog(id = sid) or self.waeup_tool.picturePathExists(sid):
    387             if self.waeup_tool.picturePathExists(sid):
    388                 logger.info('picture path %s exists' % sid)
     387            if not self.students_catalog(id = sid):
     388                logger.info('only picture path %s exists' % sid)
    389389            sid = "%c%d" % (letter,r.randint(99999,1000000))
    390390        return sid
Note: See TracChangeset for help on using the changeset viewer.