Changeset 2142 for WAeUP_SRP/trunk/Widgets.py
- Timestamp:
- 21 Aug 2007, 18:47:19 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Widgets.py
r2137 r2142 1529 1529 else: 1530 1530 image = open(file_path) 1531 from OFS.Image import getImageInfo as g ia1531 from OFS.Image import getImageInfo as getImageInfoOFS 1532 1532 image.seek(0) 1533 data = image.read(2 40)1533 data = image.read(2000) 1534 1534 size = len(data) 1535 1535 empty_file = size == 0 … … 1537 1537 last_modified = '' 1538 1538 image.close() 1539 mimetype, width, height = gia(data) 1540 #import pdb;pdb.set_trace() 1539 mimetype, width, height = getImageInfoOFS(data) 1541 1540 1542 1541 if width < 0:
Note: See TracChangeset for help on using the changeset viewer.