Changeset 2119 for WAeUP_SRP/trunk/Widgets.py
- Timestamp:
- 18 Aug 2007, 17:23:25 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Widgets.py
r2117 r2119 1389 1389 if self.isStudent(): 1390 1390 err = "This is only for Pume application." 1391 s_logger.info('%s/%s applied for PUMEwith PIN %s' % (s_id,ref,pin_str))1391 s_logger.info('%s/%s applied for screening test with PIN %s' % (s_id,ref,pin_str)) 1392 1392 break 1393 1393 else: … … 1400 1400 getattr(self,self.catalog).modifyRecord(**d) 1401 1401 elif applicant.pin != pin_str: 1402 s_logger.info('%s/%s repeatedly applied for PUMEwith different PIN %s' % (s_id,ref,pin_str))1402 s_logger.info('%s/%s tried to enter application record with different PIN %s' % (s_id,ref,pin_str)) 1403 1403 elif applicant.pin == pin_str: 1404 s_logger.info('%s/%s repeatedly applied for PUMEwith PIN %s' % (s_id,ref,pin_str))1404 s_logger.info('%s/%s repeatedly entered application record with PIN %s' % (s_id,ref,pin_str)) 1405 1405 break 1406 1406 if err: … … 1491 1491 ) 1492 1492 path = "images" 1493 storage_path = "%s/ var/%s" % (i_home,path)1493 storage_path = "%s/import/%s" % (i_home,path) 1494 1494 id_field = "reg_no" 1495 1495 … … 1558 1558 mimetype = '' 1559 1559 last_modified = '' 1560 height = '' 1561 width = '' 1562 1560 1563 else: 1561 1564 image = open(file_path) … … 1570 1573 mimetype, width, height = gia(data) 1571 1574 #import pdb;pdb.set_trace() 1572 1575 1573 1576 if width < 0: 1574 1577 width = None
Note: See TracChangeset for help on using the changeset viewer.