[mod] debug infos
This commit is contained in:
parent
674958551a
commit
945714c225
@ -69,10 +69,12 @@ class TemplateFunctions():
|
||||
|
||||
if CACHE.thumbnail_needs_to_be_generated(source, target):
|
||||
command = "gm convert %s -resize %s %s" % (source, gm_geometry, target)
|
||||
# print command
|
||||
print command
|
||||
os.system(command)
|
||||
|
||||
CACHE.cache_thumbnail(source, target)
|
||||
else:
|
||||
print "skiped %s since it's already generated (based on source unchanged size)" % target
|
||||
|
||||
return thumbnail_name
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user