X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?p=living-lab-site.git;a=blobdiff_plain;f=cis%2Fapi%2Fbase.py;h=9e4ea5eeeb798ef86719e9658c4f013fe78a1af6;hp=11c922aad8bac33823492055b2facb306eef4657;hb=961611537619595dc7eed2104faafcd0c9cdc57b;hpb=038c14e7fb3d5de1399310651c97b1b8c892e145 diff --git a/cis/api/base.py b/cis/api/base.py index 11c922a..9e4ea5e 100644 --- a/cis/api/base.py +++ b/cis/api/base.py @@ -253,9 +253,9 @@ class BaseThumbExtractor: output_file_name = os.path.join(self.dest_path, self.name) \ + '_t' + ("%02d" % index) + '.jpg' - if os.path.exists(output_file_name): - raise cis_exceptions.FileAlreadyExistsException( \ - 'file "%s" already exists' % output_file_name) + #if os.path.exists(output_file_name): + #raise cis_exceptions.FileAlreadyExistsException( \ + #'file "%s" already exists' % output_file_name) return output_file_name