Fixed local flag not being set on image import

svn: r677
This commit is contained in:
Don Allingham
2002-01-03 18:09:32 +00:00
parent faca534de4
commit 22ec320188
7 changed files with 8 additions and 11 deletions

View File

@@ -82,7 +82,6 @@ def import_media_object(filename,path,base):
try:
path = "%s/%s" % (thumb,base)
print "Making",path,"from",filename
mk_thumb(filename,path,const.thumbScale)
shutil.copy(filename,name)
except:
@@ -123,8 +122,6 @@ def scale_image(path,size):
#-------------------------------------------------------------------------
def mk_thumb(source,dest,size):
print "making a thumbnail",source,dest
dir = os.path.dirname(dest)
try:
if not os.path.exists(dir):