X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=cis%2Fapi%2Fbase.py;h=9e4ea5eeeb798ef86719e9658c4f013fe78a1af6;hb=refs%2Fheads%2Fmaster;hp=11c922aad8bac33823492055b2facb306eef4657;hpb=8b8928b4cc25af9867c397ba5ef4b1129a8df5b5;p=living-lab-site.git 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