projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Abandon de thumb_height et thumb_width au profit de thumb_size.
[Plinn.git]
/
AttachmentTool.py
diff --git
a/AttachmentTool.py
b/AttachmentTool.py
index
aea969b
..
a61b4e4
100644
(file)
--- a/
AttachmentTool.py
+++ b/
AttachmentTool.py
@@
-78,8
+78,8
@@
class AttachmentTool( UniqueObject, SimpleItem):
id = makeValidId(attachments, title)
if typeName == 'Photo':
id = makeValidId(attachments, title)
if typeName == 'Photo':
- thumbSize = {'thumb_height' : portal.getProperty('thumb_
height
', 128),
- 'thumb_width' : portal.getProperty('thumb_
width
', 128)}
+ thumbSize = {'thumb_height' : portal.getProperty('thumb_
size
', 128),
+ 'thumb_width' : portal.getProperty('thumb_
size
', 128)}
fileOb = Photo(id, title, file, **thumbSize)
elif typeName == 'File' :
fileOb = File(id, title, '')
fileOb = Photo(id, title, file, **thumbSize)
elif typeName == 'File' :
fileOb = File(id, title, '')