Don't reimport a file that has already been imported

svn: r556
This commit is contained in:
Don Allingham
2001-11-08 14:49:58 +00:00
parent 3111d7e463
commit e2df6299c2
6 changed files with 152 additions and 86 deletions

View File

@@ -80,6 +80,7 @@ def import_media_object(filename,path,base):
try:
path = "%s/%s" % (thumb,base)
print filename,path,const.thumbScale
mk_thumb(filename,path,const.thumbScale)
shutil.copy(filename,name)
except: