projects
/
Portfolio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b3c4dd
)
Bugfixe : lors du démarrage du thread, il existe toujours au moins 1 photo à traiter...
author
Benoît Pin
<benoit.pin@gmail.com>
Mon, 1 Nov 2010 20:40:27 +0000
(21:40 +0100)
committer
Benoît Pin
<benoit.pin@gmail.com>
Mon, 1 Nov 2010 20:40:27 +0000
(21:40 +0100)
ImageManipulationTool.py
patch
|
blob
|
history
diff --git
a/ImageManipulationTool.py
b/ImageManipulationTool.py
index
4ec31f7
..
77e3a9a
100755
(executable)
--- a/
ImageManipulationTool.py
+++ b/
ImageManipulationTool.py
@@
-104,7
+104,7
@@
class ImageManipulationTool( UniqueObject, OrderedFolder) :
portal = utool.getPortalObject()
brains = ctool.unrestrictedSearchResults(portal_type='Photo', tiles_available=0)
paths = [b.getPath() for b in brains]
- if itemPath is not None :
+ if itemPath is not None
and itemPath not in paths
:
paths.insert(0, itemPath)
thread = ImageQueueProcessorThread(portal.getPhysicalPath(), paths)
thread.start()